开发者

Change RadWindow style

开发者 https://www.devze.com 2023-01-14 13:12 出处:网络
How do I modify the style or color of RadWindow? Im using SL4 and Telerik\'s latest binaries which is compatible with SL4.

How do I modify the style or color of RadWindow? Im using SL4 and Telerik's latest binaries which is compatible with SL4.

I've tried the following, but it is not working.

<radNavigation:RadWindow.Resources> 
    <Style x:Key="RadWindowStyleActionGotFocus" TargetType="radNavigation:RadWindow"> 
        <Setter Property="Background" Value="Blue"></Setter> 
    </Style> 
<开发者_StackOverflow;/radNavigation:RadWindow.Resources> 
<radNavigation:RadWindow.Style> 
    <StaticResource ResourceKey="RadWindowStyleActionGotFocus"/> 
</radNavigation:RadWindow.Style>


If you have access to MS Expression Blend, then you can create a new style element by copying the current RadWindow Style. This will allow you to change the required styles. Please note that you must specify a key for the style and then set the style attribute using the appropriate static resource

0

精彩评论

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