File tree Expand file tree Collapse file tree 2 files changed +19
-16
lines changed Expand file tree Collapse file tree 2 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 104
104
</Grid >
105
105
106
106
<Grid ClipToBounds =" True" >
107
- <Rectangle Width =" Auto" HorizontalAlignment =" Stretch" Style =" {DynamicResource SeparatorStyle}" />
107
+ <ContentControl >
108
+ <ContentControl .Style>
109
+ <Style TargetType =" ContentControl" >
110
+ <Setter Property =" Visibility" Value =" Collapsed" />
111
+ <Style .Triggers>
112
+ <DataTrigger Binding =" {Binding ElementName=ResultListBox, Path=Visibility}" Value =" Visible" >
113
+ <Setter Property =" Visibility" Value =" Visible" />
114
+ </DataTrigger >
115
+ <DataTrigger Binding =" {Binding ElementName=ContextMenu, Path=Visibility}" Value =" Visible" >
116
+ <Setter Property =" Visibility" Value =" Visible" />
117
+ </DataTrigger >
118
+ <DataTrigger Binding =" {Binding ElementName=History, Path=Visibility}" Value =" Visible" >
119
+ <Setter Property =" Visibility" Value =" Visible" />
120
+ </DataTrigger >
121
+ </Style .Triggers>
122
+ </Style >
123
+ </ContentControl .Style>
124
+ <Rectangle Width =" Auto" HorizontalAlignment =" Stretch" Style =" {DynamicResource SeparatorStyle}" />
125
+ </ContentControl >
108
126
<Line x : Name =" ProgressBar" HorizontalAlignment =" Right"
109
127
Style =" {DynamicResource PendingLineStyle}" Visibility =" {Binding ProgressBarVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
110
128
Y1 =" 0" Y2 =" 0" X1 =" -150" X2 =" -50" Height =" 2" Width =" {Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}},Path=ActualWidth}" StrokeThickness =" 1" >
Original file line number Diff line number Diff line change 223
223
</ControlTemplate >
224
224
</Setter .Value>
225
225
</Setter >
226
-
227
226
</Style >
228
227
<Style x : Key =" BaseSeparatorStyle" TargetType =" Rectangle" >
229
- <Setter Property =" Visibility" Value =" Collapsed" />
230
- <Style .Triggers>
231
- <DataTrigger Binding =" {Binding ElementName=ResultListBox, Path=Visibility}" Value =" Visible" >
232
- <Setter Property =" Visibility" Value =" Visible" />
233
- </DataTrigger >
234
- <DataTrigger Binding =" {Binding ElementName=ContextMenu, Path=Visibility}" Value =" Visible" >
235
- <Setter Property =" Visibility" Value =" Visible" />
236
- </DataTrigger >
237
- <DataTrigger Binding =" {Binding ElementName=History, Path=Visibility}" Value =" Visible" >
238
- <Setter Property =" Visibility" Value =" Visible" />
239
- </DataTrigger >
240
- </Style .Triggers>
241
228
</Style >
242
229
<Style x : Key =" HighlightStyle" >
243
230
<Setter Property =" Inline.FontWeight" Value =" Bold" />
244
231
</Style >
245
-
246
232
<Style x : Key =" BaseItemHotkeyStyle" TargetType =" {x:Type TextBlock}" >
247
233
<Setter Property =" FontSize" Value =" 15" />
248
234
<Setter Property =" Foreground" Value =" #8f8f8f" />
249
235
</Style >
250
-
251
236
<Style x : Key =" BaseItemHotkeySelecetedStyle" TargetType =" {x:Type TextBlock}" >
252
237
<Setter Property =" FontSize" Value =" 15" />
253
238
<Setter Property =" Foreground" Value =" #8f8f8f" />
You can’t perform that action at this time.
0 commit comments