File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
4
4
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
5
5
mc : Ignorable =" d" d : DesignWidth =" 800" d : DesignHeight =" 450"
6
- x : Class =" SourceGit.Views.CaptionButtons" >
6
+ x : Class =" SourceGit.Views.CaptionButtons"
7
+ x : Name =" ThisControl" >
7
8
<StackPanel Orientation =" Horizontal" >
8
- <Button Classes =" caption_button" Click =" MinimizeWindow" >
9
+ <Button Classes =" caption_button" Click =" MinimizeWindow" IsVisible = " {Binding !#ThisControl.IsCloseButtonOnly} " >
9
10
<Path Data =" {StaticResource Icons.Window.Minimize}" />
10
11
</Button >
11
- <Button Classes =" caption_button max_or_restore_btn" Click =" MaximizeOrRestoreWindow" >
12
+ <Button Classes =" caption_button max_or_restore_btn" Click =" MaximizeOrRestoreWindow" IsVisible = " {Binding !#ThisControl.IsCloseButtonOnly} " >
12
13
<Path />
13
14
</Button >
14
15
<Button Classes =" caption_button" Click =" CloseWindow" >
You can’t perform that action at this time.
0 commit comments