Hi there,
i'm new with theming and just created a new application wide theme. I inserted the following code in the MainForm_Load:
This works great, also for different UserControls and Forms. But now I want to create some hierarchy within the theme.
Examples:
The RadLabel. For most of the time I can use the defined style in the ApplicationTheme. But I also need for a specific number of labels some header styles (like a <H1> or <H2>, somewhat bigger and Bold).
The RadButton. Most of the time the buttons are blue, but some buttons must be red.
How can I achieve this? I can't really find an option in the VisualStyleBuilder. And I played with the <RadStylesheetRelation> section in the XML file combined with the ThemeName and ThemeClassName in the VS designer, but no results so far. Can I implement Theming on a CSS way? Is there any HowTo or Tutorial available?
Thank you,
Maarten
i'm new with theming and just created a new application wide theme. I inserted the following code in the MainForm_Load:
ThemeResolutionService.RegisterThemeFromStorage(ThemeStorageType.Resource, "Program.Resources.ApplicationTheme.xml"); |
ThemeResolutionService.ApplicationThemeName = "ApplicationTheme"; |
This works great, also for different UserControls and Forms. But now I want to create some hierarchy within the theme.
Examples:
The RadLabel. For most of the time I can use the defined style in the ApplicationTheme. But I also need for a specific number of labels some header styles (like a <H1> or <H2>, somewhat bigger and Bold).
The RadButton. Most of the time the buttons are blue, but some buttons must be red.
How can I achieve this? I can't really find an option in the VisualStyleBuilder. And I played with the <RadStylesheetRelation> section in the XML file combined with the ThemeName and ThemeClassName in the VS designer, but no results so far. Can I implement Theming on a CSS way? Is there any HowTo or Tutorial available?
Thank you,
Maarten