|
115 | 115 | <Setter Property="Width" Value="45"/> |
116 | 116 | <Setter Property="Margin" Value="5,0,0,0"/> |
117 | 117 | </Style> |
118 | | - <Style Selector="TabItem ToolTip"> |
119 | | - <Setter Property="Padding" Value="10 7 10 7"/> |
120 | | - <Setter Property="CornerRadius" Value="5,5,5,5"/> |
121 | | - <Setter Property="BorderThickness" Value="0"/> |
122 | | - <Setter Property="FontSize" Value="14"/> |
123 | | - <Setter Property="Foreground" Value="{Binding $parent[TabControl].Foreground}"/> |
124 | | - <Setter Property="Background" Value="{Binding $parent[TabControl].Background}"/> |
125 | | - <Setter Property="Template"> |
126 | | - <ControlTemplate> |
127 | | - <StackPanel Orientation="Horizontal" Spacing="0"> |
128 | | - <Viewbox VerticalAlignment="Center" Height="15"> |
129 | | - <Path Stretch="UniformToFill" Fill="{TemplateBinding Background}" Data="F1M130.5,-175L137.5,-169.837493896484 137.5,-29.9124984741211 130.75,-25.0000019073486 62.5,-95.3375015258789 62.5,-105.675003051758 130.5,-175z"/> |
130 | | - </Viewbox> |
131 | | - <ContentPresenter Name="PART_ContentPresenter" |
132 | | - Background="{TemplateBinding Background}" |
133 | | - BorderBrush="{TemplateBinding BorderBrush}" |
134 | | - BorderThickness="{TemplateBinding BorderThickness}" |
135 | | - CornerRadius="{TemplateBinding CornerRadius}" |
136 | | - ContentTemplate="{TemplateBinding ContentTemplate}" |
137 | | - Content="{TemplateBinding Content}" |
138 | | - Padding="{TemplateBinding Padding}"/> |
139 | | - </StackPanel> |
140 | | - </ControlTemplate> |
141 | | - </Setter> |
142 | | - </Style> |
143 | 118 | </TabControl.Styles> |
144 | 119 | <TabControl.ItemTemplate> |
145 | 120 | <DataTemplate> |
146 | | - <Viewbox Height="25" Width="25" Margin="3,0,0,0" |
147 | | - ToolTip.Tip="{Binding ToolTip}" ToolTip.HorizontalOffset="28" ToolTip.VerticalOffset="0"> |
| 121 | + <Viewbox Height="25" Width="25" Margin="3,0,0,0"> |
148 | 122 | <Path Fill="{Binding PathColor, Converter={StaticResource ColorToBrushConverter}}" |
149 | 123 | Data="{Binding Path, Converter={StaticResource StringToGeometryConverter}}"/> |
150 | 124 | </Viewbox> |
|
0 commit comments