Tabview issue in winui3

Sachi 221 Reputation points
2022-09-26T06:53:44.287+00:00

Hi i am using Tabviewcontrol and i am using some style like -

<SolidColorBrush x:Key="TabViewItemHeaderBackground">Transparent</SolidColorBrush>
<SolidColorBrush x:Key="TabViewBackground" >Transparent</SolidColorBrush>
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed">Transparent</SolidColorBrush>
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected">Transparent</SolidColorBrush>
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundDisabled">Transparent</SolidColorBrush>
<SolidColorBrush x:Key="TabViewButtonBackground">Transparent</SolidColorBrush>
<SolidColorBrush x:Key="TabViewButtonBackgroundDisabled">Transparent</SolidColorBrush>
<SolidColorBrush x:Key="TabViewItemHeaderForeground">#BDBDBD</SolidColorBrush>
<SolidColorBrush x:Key="TabViewItemHeaderForegroundPointerOver">#BDBDBD</SolidColorBrush>
<SolidColorBrush x:Key="TabViewItemHeaderForegroundDisabled">#BDBDBD</SolidColorBrush>
<SolidColorBrush x:Key="TabViewButtonForeground">#BDBDBD</SolidColorBrush>
<SolidColorBrush x:Key="TabViewButtonForegroundDisabled">#BDBDBD</SolidColorBrush>

from generic.xaml but depending on monitor size the Tabviewitemheader background style getting change

any suggestion please

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
725 questions
{count} votes