|
@@ -39,7 +39,7 @@
|
|
|
</hm:HamburgerMenu>
|
|
</hm:HamburgerMenu>
|
|
|
</Border>
|
|
</Border>
|
|
|
<Grid Grid.Column="1">
|
|
<Grid Grid.Column="1">
|
|
|
- <TabControl ItemsSource="{Binding TabControlItemsSource}" TabStripPlacement="Top" SelectedItem="{Binding TabControlSelectedItem}">
|
|
|
|
|
|
|
+ <TabControl ItemsSource="{Binding TabControlItemsSource}" TabStripPlacement="Left" SelectedItem="{Binding TabControlSelectedItem}">
|
|
|
<TabControl.Resources>
|
|
<TabControl.Resources>
|
|
|
<!-- 笔刷用于定义TabControl和TabItem的外观-->
|
|
<!-- 笔刷用于定义TabControl和TabItem的外观-->
|
|
|
|
|
|
|
@@ -56,6 +56,7 @@
|
|
|
<SolidColorBrush x:Key="TabItemNormalBackground" Color="WhiteSmoke"/>
|
|
<SolidColorBrush x:Key="TabItemNormalBackground" Color="WhiteSmoke"/>
|
|
|
<SolidColorBrush x:Key="TabItemHoverBackground" Color="LightGray"/>
|
|
<SolidColorBrush x:Key="TabItemHoverBackground" Color="LightGray"/>
|
|
|
<SolidColorBrush x:Key="TabItemSelectedBackground" Color="LightGray"/>
|
|
<SolidColorBrush x:Key="TabItemSelectedBackground" Color="LightGray"/>
|
|
|
|
|
+
|
|
|
|
|
|
|
|
<!--关闭按钮的样式-->
|
|
<!--关闭按钮的样式-->
|
|
|
<Style x:Key="CloseButtonStyle" TargetType="{x:Type Button}">
|
|
<Style x:Key="CloseButtonStyle" TargetType="{x:Type Button}">
|
|
@@ -145,14 +146,11 @@
|
|
|
</Style>
|
|
</Style>
|
|
|
<!--tab控件样式-->
|
|
<!--tab控件样式-->
|
|
|
<Style TargetType="{x:Type TabControl}">
|
|
<Style TargetType="{x:Type TabControl}">
|
|
|
- <Setter Property="KeyboardNavigation.TabNavigation" Value="Cycle"/>
|
|
|
|
|
- <Setter Property="KeyboardNavigation.DirectionalNavigation" Value="Cycle"/>
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
|
<Setter Property="BorderBrush" Value="Transparent"/>
|
|
<Setter Property="BorderBrush" Value="Transparent"/>
|
|
|
- <Setter Property="Margin" Value="0,10,0,0"/>
|
|
|
|
|
</Style>
|
|
</Style>
|
|
|
</TabControl.Resources>
|
|
</TabControl.Resources>
|
|
|
<TabControl.ContentTemplate>
|
|
<TabControl.ContentTemplate>
|