This is a migrated thread and some comments may be shown as answers.

RadOpenFileDialog not inheriting the theme

4 Answers 108 Views
FileDialogs
This is a migrated thread and some comments may be shown as answers.
Jacob
Top achievements
Rank 1
Jacob asked on 16 May 2019, 09:11 PM

Hi,

I'm using the latest Telerik assemblies (2019.2.508.40) and when I utilize the new RadOpenFileDialog it doesn't seem to capture the theme on the form (when executing ShowDialog()). It opens with the normal RadForm look (blue). My theme set on the form is Fluent. I checked the properties on the RadOpenFileDialog, but am not seeing a ThemeName property.

 

RadOpenFileDialog openFileDialog = new RadOpenFileDialog();
DialogResult result = openFileDialog.ShowDialog();

4 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 17 May 2019, 01:15 PM
Hi Jacob,

You can use the following approach for this:
openFileDialog.OpenFileDialogForm.ThemeName = "Fluent";

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Jacob
Top achievements
Rank 1
answered on 19 May 2019, 11:43 AM
Thanks that worked.
0
saud
Top achievements
Rank 1
answered on 02 Feb 2021, 11:05 AM

Hi Dimitar,

 

I am looking for more theme options, can you help me with the list of themes I can use, I tried replacing Fluent with VisualStudio2012LightTheme as this is my Reform's theme but that didn't work.

 

Regards,

Saud

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Feb 2021, 11:40 AM

Hello, Saud, 

All themes that come with Telerik UI for WinForms are available as standalone components, apart from the control's assemblies. If you have installed the suite from the provided installation files in you Telerik account, you will see the themes loaded in the Visual Studio toolbox. In order to use the Theme components, just drag and drop them from the VS Toolbox to the form. This will add a reference to the corresponding theme assembly in the project. All you have to do afterwards is to set the needed theme to the ThemeName property as it was demonstrated to Dimitar's post.

I hope this information helps.  

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
FileDialogs
Asked by
Jacob
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Jacob
Top achievements
Rank 1
saud
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or