Apply a theme in your app

Hi experts

I do design for an application of several forms and wanted to ask where and how best and more productive to use themes for all controls of all forms (which can be up to 15 on one form)

1. Create a class where the method will apply themes to all controls and call this method in the form designer.

2. Specify all settings of control themes in the constructor (without class)

3. Create a method with control themes settings in the form and access this method in the constructor.


1 Reply

SS Sampathnarayanan Sankaralingam Syncfusion Team March 14, 2022 03:54 PM UTC

  
Hi Azmus, 
 
You can apply the theme for all controls in the form by setting theme to SkinManager.ApplicationVisualTheme property. We suggest to set the theme to entire application instead of setting to every single control, however you can set theme based on your requirement. Please refer the below UG for more details. 
 
 
Regards, 
Sampath Narayanan.S 


Loader.
Up arrow icon