This question is locked. New answers and comments are not allowed.
I'm having a small issue where the SummerTheme is not being applied to custom child objects (derived from ToggleButton), and instead they appear as grey 3D buttons with borders. All other child Button/ToggleButton objects style fine. Setting the StyleManager.Theme="Summer" on the custom object doesn't seem to do anything. I'm using the Q2 Trial Assemblies.
Any help would be greatly appreciated -
I'm specifying the SummerTheme as such:
My custom Button object as so:
And my XAML as so:
Any help would be greatly appreciated -
I'm specifying the SummerTheme as such:
| public App() |
| { |
| this.Startup += this.Application_Startup; |
| this.Exit += this.Application_Exit; |
| this.UnhandledException += this.Application_UnhandledException; |
| StyleManager.ApplicationTheme = new SummerTheme(); |
| InitializeComponent(); |
| } |
My custom Button object as so:
| public class MyToggleButton : ToggleButton |
| {} |
And my XAML as so:
| <Navigation:RadToolBar> |
| <ToolbarSpike:MyToggleButton Content="Custom Button"/> |
| <Button Content="Button1"/> |
| <Button Content="Button2"/> |
| <ToggleButton Content="Button3"/> |
| </Navigation:RadToolBar> |
