File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 37
37
</CollectionViewSource .SortDescriptions>
38
38
</CollectionViewSource >
39
39
40
-
41
40
<Style x : Key =" SettingGrid" TargetType =" ItemsControl" >
42
41
<Setter Property =" Focusable" Value =" False" />
43
42
<Setter Property =" Margin" Value =" 0" />
188
187
</Setter >
189
188
</Style >
190
189
190
+ <!-- Plugin Store Item when Selected layout for nothing-->
191
+ <Style x : Key =" StoreItem" TargetType =" {x:Type ToggleButton}" >
192
+ <Style .Triggers>
193
+ <Trigger Property =" IsChecked" Value =" True" >
194
+ </Trigger >
195
+ </Style .Triggers>
196
+ </Style >
191
197
192
198
<Style x : Key =" PluginList" TargetType =" ListBoxItem" >
193
199
<Setter Property =" Background" Value =" #ffffff" />
911
917
912
918
<ToggleButton IsChecked =" {Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}},Path=IsSelected}" Background =" Transparent"
913
919
Width =" {Binding ActualWidth,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}}}"
914
- HorizontalAlignment =" Left" HorizontalContentAlignment =" left" >
920
+ HorizontalAlignment =" Left" HorizontalContentAlignment =" left" Style = " {StaticResource StoreItem} " >
915
921
<ToggleButton .Template>
916
922
<ControlTemplate TargetType =" {x:Type ButtonBase}" >
917
923
<ContentPresenter x : Name =" contentPresenter" ContentTemplate =" {TemplateBinding ContentTemplate}" Content =" {TemplateBinding Content}" ContentStringFormat =" {TemplateBinding ContentStringFormat}" Focusable =" False" HorizontalAlignment =" {TemplateBinding HorizontalContentAlignment}" Margin =" {TemplateBinding Padding}" RecognizesAccessKey =" True" SnapsToDevicePixels =" {TemplateBinding SnapsToDevicePixels}" VerticalAlignment =" {TemplateBinding VerticalContentAlignment}" />
918
924
<ControlTemplate .Triggers/>
919
925
</ControlTemplate >
920
926
</ToggleButton .Template>
921
-
927
+
922
928
<Grid HorizontalAlignment =" Left" VerticalAlignment =" Stretch" >
923
929
<Grid .ColumnDefinitions>
924
930
<ColumnDefinition Width =" 72" />
You can’t perform that action at this time.
0 commit comments