开发者

Silverlight toolkit theme not applied to label

开发者 https://www.devze.com 2023-03-01 07:19 出处:网络
Do I have to do something special to the Label control from the Silverlight toolkit to get the current themed applied?

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

精彩评论

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

关注公众号