开发者

How to get text 'shadow' effect in Silverlight Toolkit themes to work in my project

开发者 https://www.devze.com 2023-01-23 10:22 出处:网络
I am using the jetpack theme in my silverlight project. Everything is picking up the styles except I do not get the subtle text shadow effect that is visible on all the controls on the jetpack demo pa

I am using the jetpack theme in my silverlight project. Everything is picking up the styles except I do not get the subtle text shadow effect that is visible on all the controls on the jetpack demo page.

Here is a screenshot - my project on the left开发者_如何学C, the demo site on the right.

Is there anything I have to do to enable the effect?

How to get text 'shadow' effect in Silverlight Toolkit themes to work in my project


You have to use the label control in the toolkit.

Do this:

xmlns:label="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"

then this

        <label:Label>Icon</label:Label>
0

精彩评论

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