TabView icon indicating copy to clipboard operation
TabView copied to clipboard

HeaderBackgroundColor with AppThemeBinding

Open eyeveye opened this issue 5 years ago • 0 comments

Hi,

When trying to switch Theme, the HeaderBackgroundColor does not reflect immediately. It only changed its color when reloading the whole page.

        HeaderBackgroundColor="{AppThemeBinding Dark=#353535,
                                                        Light=#00C8FF}" 

I tried to set the headerbackgroundcolor from code behind, but it is also not successfully change. var tv = Page.FindByName<TabViewControl>("tv"); if (App.AppTheme == App.Theme.Dark) { tv.HeaderBackgroundColor = Color.FromHex("#353535"); } else tv.HeaderBackgroundColor = Color.FromHex("#00C8FF");

eyeveye avatar Jan 08 '21 14:01 eyeveye