-
Notifications
You must be signed in to change notification settings - Fork 359
/
Copy pathSecondaryWindowTemplate.xaml
31 lines (29 loc) · 1.13 KB
/
SecondaryWindowTemplate.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<UserControl
x:Class="DevHome.Common.Windows.SecondaryWindowTemplate"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!-- Title bar -->
<ContentControl
x:Name="WindowTitleBar"
IsTabStop="False"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
Content="{x:Bind TitleBar, Mode=OneWay}"/>
<!-- Main content -->
<ContentControl
Grid.Row="1"
IsTabStop="False"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
Content="{x:Bind MainContent, Mode=OneWay}"/>
</Grid>
</UserControl>