File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed
UI/WindowingSamples/WindowingSamples Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 14
14
<RowDefinition Height =" *" />
15
15
</Grid .RowDefinitions>
16
16
<controls : WindowTitleControl Text =" Custom window" Glyph ="  " />
17
-
18
17
19
18
<StackPanel HorizontalAlignment =" Center" VerticalAlignment =" Center" Grid.Row=" 1" Spacing =" 8" >
20
19
<TextBlock x : Name =" WindowText" HorizontalAlignment =" Center" Text =" This is custom window" FontSize =" 40" />
Original file line number Diff line number Diff line change 29
29
<TextBlock Text =" Custom window" />
30
30
</StackPanel >
31
31
</Button >
32
- <Button Click =" {x:Bind WindowTitleSample}" >
32
+ <!-- < Button Click="{x:Bind WindowTitleSample}">
33
33
<StackPanel Orientation="Horizontal" Spacing="8">
34
34
<FontIcon FontFamily="{ThemeResource SymbolThemeFontFamily}" Glyph="" />
35
35
<TextBlock Text="Window title" />
36
36
</StackPanel>
37
- </Button >
37
+ </Button>-->
38
38
<Button Click =" {x:Bind FullScreenModeSample}" >
39
39
<StackPanel Orientation =" Horizontal" Spacing =" 8" >
40
40
<FontIcon FontFamily =" {ThemeResource SymbolThemeFontFamily}" Glyph ="  " />
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public void BasicWindowSample()
37
37
window . Activate ( ) ;
38
38
}
39
39
40
- public void CustomWindowSample ( ) { } // => new CustomWindow().Activate();
40
+ public void CustomWindowSample ( ) => new CustomWindow ( ) . Activate ( ) ;
41
41
42
42
public void FullScreenModeSample ( ) => new FullScreenModeWindow ( ) . Activate ( ) ;
43
43
Original file line number Diff line number Diff line change 13
13
<RowDefinition Height =" Auto" />
14
14
<RowDefinition Height =" *" />
15
15
</Grid .RowDefinitions>
16
- <controls : WindowTitleControl Text =" Window title" Glyph ="  ; " />
16
+ <controls : WindowTitleControl Text =" Window title" Glyph ="  ; " />
17
17
18
18
<StackPanel HorizontalAlignment =" Center" VerticalAlignment =" Center" Grid.Row=" 1" Spacing =" 8" >
19
19
<TextBlock HorizontalAlignment =" Center" Text =" Type to change the window title" FontSize =" 20" />
You can’t perform that action at this time.
0 commit comments