Telerik主题不能在WPF应用程序中工作
本文关键字:应用程序 工作 WPF 不能 Telerik | 更新日期: 2023-09-27 18:14:10
我见过一些类似的问题,但所有的答案都是一样的,不适合我,
我试图在WPF/VB.net应用程序中使用Telerik主题,但主题不设置,我不确定为什么,
我已经尝试使用下面的代码来实现我想要做的事情:
StyleManager.ApplicationTheme = New VistaTheme()
StyleManager.SetTheme(rad_button, New VistaTheme)
(我使用vista主题为例,我已经尝试了所有可用主题的代码)
任何帮助或建议将是感激的(即使在c#)!您需要在更改样式后调用InitializeComponent()
方法。
StyleManager.ApplicationTheme = New VistaTheme()
StyleManager.SetTheme(rad_button, New VistaTheme)
InitializeComponent()