From 375b488be2666cd56e70728624f4eadaefee0440 Mon Sep 17 00:00:00 2001
From: chenghaoran <chenghaoran@ipilotwhale.com>
Date: 星期二, 12 三月 2024 17:36:49 +0800
Subject: [PATCH] 优化项目结构;
---
WPFProject/Style/MainTab.xaml | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Style/MainTab.xaml b/WPFProject/Style/MainTab.xaml
similarity index 99%
rename from Style/MainTab.xaml
rename to WPFProject/Style/MainTab.xaml
index 37f8ad6..129964b 100644
--- a/Style/MainTab.xaml
+++ b/WPFProject/Style/MainTab.xaml
@@ -19,19 +19,19 @@
Foreground="{TemplateBinding Foreground}" />
</Border>
<ControlTemplate.Triggers>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type TabControl}}, Path=TabStripPlacement}" Value="Left">
- <Setter Property="BorderThickness" TargetName="templateRoot" Value="0,0,3,0"/>
- <Setter Property="Padding" TargetName="templateRoot" Value="3,3,0,3"/>
+ <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type TabControl}}, Path=TabStripPlacement}" Value="Left">
+ <Setter Property="BorderThickness" TargetName="templateRoot" Value="0,0,3,0"/>
+ <Setter Property="Padding" TargetName="templateRoot" Value="3,3,0,3"/>
</DataTrigger>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type TabControl}}, Path=TabStripPlacement}" Value="Right">
- <Setter Property="BorderThickness" TargetName="templateRoot" Value="3,0,0,0"/>
- <Setter Property="Padding" TargetName="templateRoot" Value="0,3,3,3"/>
+ <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type TabControl}}, Path=TabStripPlacement}" Value="Right">
+ <Setter Property="BorderThickness" TargetName="templateRoot" Value="3,0,0,0"/>
+ <Setter Property="Padding" TargetName="templateRoot" Value="0,3,3,3"/>
</DataTrigger>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type TabControl}}, Path=TabStripPlacement}" Value="Right">
- <Setter Property="BorderThickness" TargetName="templateRoot" Value="0,3,0,0"/>
- <Setter Property="Padding" TargetName="templateRoot" Value="3,0,3,3"/>
+ <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type TabControl}}, Path=TabStripPlacement}" Value="Right">
+ <Setter Property="BorderThickness" TargetName="templateRoot" Value="0,3,0,0"/>
+ <Setter Property="Padding" TargetName="templateRoot" Value="3,0,3,3"/>
</DataTrigger>
<MultiDataTrigger>
--
Gitblit v1.9.1