|
92 | 92 | <Setter.Value> |
93 | 93 | <ControlTemplate TargetType="Expander"> |
94 | 94 | <Border |
95 | | - Background="{TemplateBinding Background}" |
96 | | - BorderBrush="{TemplateBinding BorderBrush}" |
97 | | - BorderThickness="{TemplateBinding BorderThickness}" |
98 | | - SnapsToDevicePixels="true"> |
| 95 | + Background="{TemplateBinding Background}" |
| 96 | + BorderBrush="{TemplateBinding BorderBrush}" |
| 97 | + BorderThickness="{TemplateBinding BorderThickness}" |
| 98 | + SnapsToDevicePixels="true"> |
99 | 99 | <DockPanel> |
100 | 100 | <ToggleButton |
101 | | - x:Name="HeaderSite" |
102 | | - MinWidth="0" |
103 | | - MinHeight="0" |
104 | | - Margin="0" |
105 | | - Padding="{TemplateBinding Padding}" |
106 | | - HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
107 | | - VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
108 | | - Content="{TemplateBinding Header}" |
109 | | - ContentTemplate="{TemplateBinding HeaderTemplate}" |
110 | | - ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" |
111 | | - DockPanel.Dock="Top" |
112 | | - FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" |
113 | | - FontFamily="{TemplateBinding FontFamily}" |
114 | | - FontSize="{TemplateBinding FontSize}" |
115 | | - FontStretch="{TemplateBinding FontStretch}" |
116 | | - FontStyle="{TemplateBinding FontStyle}" |
117 | | - FontWeight="{TemplateBinding FontWeight}" |
118 | | - Foreground="{TemplateBinding Foreground}" |
119 | | - IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" |
120 | | - Style="{StaticResource ExpanderHeaderRightArrowStyle}" /> |
121 | | - <Border x:Name="ContentPresenterBorder" BorderThickness="0,1,0,0" |
122 | | - BorderBrush="{DynamicResource Color03B}"> |
| 101 | + x:Name="HeaderSite" |
| 102 | + MinWidth="0" |
| 103 | + MinHeight="0" |
| 104 | + Margin="0" |
| 105 | + Padding="{TemplateBinding Padding}" |
| 106 | + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
| 107 | + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
| 108 | + Content="{TemplateBinding Header}" |
| 109 | + ContentTemplate="{TemplateBinding HeaderTemplate}" |
| 110 | + ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" |
| 111 | + DockPanel.Dock="Top" |
| 112 | + FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" |
| 113 | + FontFamily="{TemplateBinding FontFamily}" |
| 114 | + FontSize="{TemplateBinding FontSize}" |
| 115 | + FontStretch="{TemplateBinding FontStretch}" |
| 116 | + FontStyle="{TemplateBinding FontStyle}" |
| 117 | + FontWeight="{TemplateBinding FontWeight}" |
| 118 | + Foreground="{TemplateBinding Foreground}" |
| 119 | + IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" |
| 120 | + Style="{StaticResource ExpanderHeaderRightArrowStyle}" /> |
| 121 | + <Border |
| 122 | + x:Name="ContentPresenterBorder" |
| 123 | + BorderBrush="{DynamicResource Color03B}" |
| 124 | + BorderThickness="0 1 0 0"> |
123 | 125 | <ContentPresenter |
124 | | - x:Name="ExpandSite" |
125 | | - Margin="{TemplateBinding Padding}" |
126 | | - HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
127 | | - VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
128 | | - DockPanel.Dock="Bottom" |
129 | | - Focusable="false" /> |
| 126 | + x:Name="ExpandSite" |
| 127 | + Margin="{TemplateBinding Padding}" |
| 128 | + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
| 129 | + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
| 130 | + DockPanel.Dock="Bottom" |
| 131 | + Focusable="false" /> |
130 | 132 | <Border.LayoutTransform> |
131 | 133 | <ScaleTransform ScaleY="0" /> |
132 | 134 | </Border.LayoutTransform> |
|
141 | 143 | <BeginStoryboard> |
142 | 144 | <Storyboard> |
143 | 145 | <DoubleAnimation |
144 | | - Storyboard.TargetName="ContentPresenterBorder" |
145 | | - Storyboard.TargetProperty="(Border.LayoutTransform).(ScaleTransform.ScaleY)" |
146 | | - From="0.0" To="1.0" Duration="0:0:0" /> |
| 146 | + Storyboard.TargetName="ContentPresenterBorder" |
| 147 | + Storyboard.TargetProperty="(Border.LayoutTransform).(ScaleTransform.ScaleY)" |
| 148 | + From="0.0" |
| 149 | + To="1.0" |
| 150 | + Duration="0:0:0" /> |
147 | 151 | <DoubleAnimation |
148 | | - Storyboard.TargetName="ContentPresenterBorder" |
149 | | - Storyboard.TargetProperty="(Border.Opacity)" |
150 | | - From="0.0" To="1.0" Duration="0:0:0" /> |
| 152 | + Storyboard.TargetName="ContentPresenterBorder" |
| 153 | + Storyboard.TargetProperty="(Border.Opacity)" |
| 154 | + From="0.0" |
| 155 | + To="1.0" |
| 156 | + Duration="0:0:0" /> |
151 | 157 | </Storyboard> |
152 | 158 | </BeginStoryboard> |
153 | 159 | </Trigger.EnterActions> |
154 | 160 | <Trigger.ExitActions> |
155 | 161 | <BeginStoryboard> |
156 | 162 | <Storyboard> |
157 | 163 | <DoubleAnimation |
158 | | - Storyboard.TargetName="ContentPresenterBorder" |
159 | | - Storyboard.TargetProperty="(Border.LayoutTransform).(ScaleTransform.ScaleY)" |
160 | | - From="1.0" To="0.0" Duration="0:0:0" /> |
| 164 | + Storyboard.TargetName="ContentPresenterBorder" |
| 165 | + Storyboard.TargetProperty="(Border.LayoutTransform).(ScaleTransform.ScaleY)" |
| 166 | + From="1.0" |
| 167 | + To="0.0" |
| 168 | + Duration="0:0:0" /> |
161 | 169 | <DoubleAnimation |
162 | | - Storyboard.TargetName="ContentPresenterBorder" |
163 | | - Storyboard.TargetProperty="(Border.Opacity)" |
164 | | - From="1.0" To="0.0" Duration="0:0:0" /> |
| 170 | + Storyboard.TargetName="ContentPresenterBorder" |
| 171 | + Storyboard.TargetProperty="(Border.Opacity)" |
| 172 | + From="1.0" |
| 173 | + To="0.0" |
| 174 | + Duration="0:0:0" /> |
165 | 175 | </Storyboard> |
166 | 176 | </BeginStoryboard> |
167 | 177 | </Trigger.ExitActions> |
|
367 | 377 | HorizontalAlignment="Left" |
368 | 378 | Text="{Binding ExcludedFileTypes}" |
369 | 379 | ToolTip="{DynamicResource plugin_explorer_Excluded_File_Types_Tooltip}" /> |
| 380 | + |
370 | 381 | <TextBlock |
371 | 382 | Grid.Row="9" |
372 | 383 | Grid.Column="0" |
|
0 commit comments