File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 290290 <StackPanel
291291 x : Name =" ClockPanel"
292292 IsHitTestVisible =" False"
293- Style =" {DynamicResource ClockPanel}" >
293+ Opacity =" {Binding ClockPanelOpacity}"
294+ Style =" {DynamicResource ClockPanel}"
295+ Visibility =" {Binding ClockPanelVisibility}" >
294296 <TextBlock
295297 x : Name =" ClockBox"
296298 Style =" {DynamicResource ClockBox}"
318320 Name =" SearchIcon"
319321 Margin =" 0"
320322 Data =" {DynamicResource SearchIconImg}"
323+ Opacity =" {Binding SearchIconOpacity}"
321324 Stretch =" Fill"
322325 Style =" {DynamicResource SearchIconStyle}"
323326 Visibility =" {Binding SearchIconVisibility}" />
Original file line number Diff line number Diff line change @@ -760,7 +760,10 @@ private ResultsViewModel SelectedResults
760760
761761 public event VisibilityChangedEventHandler VisibilityChanged ;
762762
763+ public Visibility ClockPanelVisibility { get ; set ; }
763764 public Visibility SearchIconVisibility { get ; set ; }
765+ public double ClockPanelOpacity { get ; set ; } = 1 ;
766+ public double SearchIconOpacity { get ; set ; } = 1 ;
764767
765768 public double MainWindowWidth
766769 {
You can’t perform that action at this time.
0 commit comments