OSDN Git Service

493c59b4ea875eb8561b932c1c8a36da785a026e
[fooeditengine/FooEditEngine.git] / Metro / Test / MainPage.xaml
1 <Page
2     x:Class="Test.MainPage"
3     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5     xmlns:local="using:Test"
6     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8     xmlns:foo="using:FooEditEngine.Metro"
9     mc:Ignorable="d">
10     <Grid>
11         <Grid.ColumnDefinitions>
12             <ColumnDefinition Width="160"/>
13             <ColumnDefinition/>
14         </Grid.ColumnDefinitions>
15         <foo:FooTextBox Grid.Column="1" Name="fooTextBox"/>
16     </Grid>
17     <Page.BottomAppBar>
18         <AppBar Padding="10,0,10,0">
19             <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
20                 <AppBarButton Icon="OpenFile" Label="Open" Click="Button_Click"/>
21                 <AppBarButton Icon="SaveLocal" Label="Save" Click="Button_Click_1"/>
22             </StackPanel>
23         </AppBar>
24     </Page.BottomAppBar>
25 </Page>