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
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
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
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/.

