开发者

Silverlight toolkit theme not applied to label

Do I have to do something special to the Label control from the Silverlight toolkit to get the current themed applied?

When looking 开发者_开发知识库at the Theme Browser on the demo page it appears as though labels should be turning white in the expression dark theme, but it's staying black for me.


it works fine for me. You might have an implicit or explicit Label style that overwrites it.

Edit:

<Grid x:Name="LayoutRoot">
    <toolkit:ExpressionDarkTheme>
        <Grid>
            <sdk:Label Content="label" HorizontalAlignment="Center" VerticalAlignment="Center"/>
        </Grid>
    </toolkit:ExpressionDarkTheme>
</Grid>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜