Windows Phone 8.1: How to change the color of the Title text of ListPickerFlyout

时间秒杀一切 提交于 2019-12-12 01:55:42

问题


I have a Windows Phone 8.1 Application. I have a button with a ListPickerFlyout in it.

The color of my title regardless of the theme is always white. How do I change the color of the title so that it can adapt to the different themes?

<Button x:Name="myButton">
    <Button.Flyout>
        <ListPickerFlyout x:Name="myListPicker" PickerFlyoutBase.Title="HELLo">
            </ListPickerFlyout>
        </Button.Flyout>
</Button>

I might have overridden a themebrush to be always white which might be causing this issue. The solution I'm looking for is something that can help me make the color adaptable to the theme local to this particular file in which the button resides, it shouldn't affect other places/titles.

I would be very glad if someone can point me in the right direction. Thanks in advance.

来源:https://stackoverflow.com/questions/28425544/windows-phone-8-1-how-to-change-the-color-of-the-title-text-of-listpickerflyout

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!