开发者

Telerik Silverlight RadGrid Skin

开发者 https://www.devze.com 2023-02-01 11:19 出处:网络
Could anyone please let me know how to change the skin of a Teler开发者_Python百科ik silverlight radgrid control programatically.

Could anyone please let me know how to change the skin of a Teler开发者_Python百科ik silverlight radgrid control programatically.

Thanks, Mahesh


Make sure you add all of the necessary Telerik theme .dll's and you can do it by setting the StyleManager.ApplicationTheme.

using Telerik.Windows.Controls;

namespace TestingTelerikSilverlightControls
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            StyleManager.ApplicationTheme = new SummerTheme();
            InitializeComponent();
        }
    }
}
0

精彩评论

暂无评论...
验证码 换一张
取 消