|
101 | 101 | <KeyboardAccelerator Modifiers="Control" Key="T"/> |
102 | 102 | </Button.KeyboardAccelerators> |
103 | 103 | </Button> |
104 | | - |
| 104 | + |
105 | 105 | <Grid Background="Transparent" Name="DragArea" Loaded="DragArea_Loaded" Grid.Column="3"/> |
106 | 106 |
|
107 | 107 | </Grid> |
|
113 | 113 | </Style> |
114 | 114 | </Page.Resources> |
115 | 115 |
|
116 | | - <Grid Background="{StaticResource SystemControlAcrylicWindowBrush}" Name="rootGrid" > |
| 116 | + <Grid Background="Transparent" Name="rootGrid" > |
117 | 117 | <Grid.RowDefinitions> |
118 | 118 | <RowDefinition Height="Auto"/> |
119 | 119 | <RowDefinition Height="*"/> |
|
124 | 124 | </Grid.ColumnDefinitions> |
125 | 125 | <ContentPresenter Background="{StaticResource ApplicationPageBackgroundThemeBrush}" x:Name="ContentPresenter" Grid.Row="1" Grid.ColumnSpan="2" Content="{x:Bind ((uilib:TabViewItem)(local:InstanceTabsView).TabStrip.SelectedItem).Content, Mode=OneWay}"/> |
126 | 126 |
|
127 | | - <uilib:TabView Background="Transparent" Grid.Row="0" AddTabButtonClick="TabStrip_AddTabButtonClick" Style="{StaticResource TabViewStyleFixed}" SelectionChanged="TabStrip_SelectionChanged" TabCloseRequested="TabStrip_TabCloseRequested" Name="TabStrip" TabWidthMode="Equal" VerticalAlignment="Stretch"> |
128 | | - <uilib:TabView.Resources> |
129 | | - <ResourceDictionary> |
130 | | - <ResourceDictionary.ThemeDictionaries> |
131 | | - <ResourceDictionary x:Key="Default"> |
132 | | - <StaticResource x:Key="TabViewItemHeaderBackgroundSelected" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
133 | | - <StaticResource x:Key="TabViewItemHeaderBackgroundPointerOver" ResourceKey="SystemAltMediumLowColor" /> |
134 | | - <StaticResource x:Key="TabViewItemHeaderBackgroundPressed" ResourceKey="SystemAltMediumColor" /> |
135 | | - </ResourceDictionary> |
136 | | - <ResourceDictionary x:Key="Light"> |
137 | | - <StaticResource x:Key="TabViewItemHeaderBackgroundSelected" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
138 | | - <StaticResource x:Key="TabViewItemHeaderBackgroundPointerOver" ResourceKey="SystemAltMediumLowColor" /> |
139 | | - <StaticResource x:Key="TabViewItemHeaderBackgroundPressed" ResourceKey="SystemAltMediumColor" /> |
140 | | - </ResourceDictionary> |
141 | | - <ResourceDictionary x:Key="Dark"> |
142 | | - <SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="#191919" /> |
143 | | - <SolidColorBrush x:Key="TabViewItemHeaderBackgroundPointerOver" Color="#191919" /> |
144 | | - <SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="#191919" /> |
145 | | - </ResourceDictionary> |
146 | | - <ResourceDictionary x:Key="HighContrast"> |
147 | | - <!-- This empty dictionary ensures that the default high contrast resources are used when the user turns on high contrast mode. --> |
148 | | - </ResourceDictionary> |
149 | | - </ResourceDictionary.ThemeDictionaries> |
150 | | - </ResourceDictionary> |
151 | | - <!--<x:Double x:Key="TabViewItemHeaderMinHeight">32</x:Double> |
152 | | - <StaticResource x:Key="TabViewSelectionIndicatorForeground" ResourceKey="SystemControlTransparentBrush" />--> |
153 | | - </uilib:TabView.Resources> |
| 127 | + <uilib:TabView Grid.Row="0" AddTabButtonClick="TabStrip_AddTabButtonClick" Style="{ThemeResource TabViewStyleFixed}" SelectionChanged="TabStrip_SelectionChanged" TabCloseRequested="TabStrip_TabCloseRequested" Name="TabStrip" TabWidthMode="Equal" VerticalAlignment="Stretch"> |
| 128 | + |
154 | 129 | </uilib:TabView> |
155 | | - |
| 130 | + <Grid Grid.Column="1" Background="{ThemeResource TabViewBackground}"/> |
156 | 131 | </Grid> |
157 | 132 | </Page> |
0 commit comments