[NUI] Change for Size2D property to own internalSize2D which is cashed to prevent...
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / Examples / NavigatorTest / NavigatorTest1Page.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ContentPage x:Class="NUITizenGallery.NavigatorTest1Page"
3   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
5   WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
6   HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
7
8     <!-- AppBar is top-side bar with navigation content, title, and action. If you not set any contents, back button is automatically added. -->
9     <ContentPage.AppBar>
10         <AppBar x:Name="appBar" Title="NavigatorTest1Page"/>
11     </ContentPage.AppBar>
12
13     <!-- Content is main placeholder of ContentPage. Add your content into this view. -->
14     <ContentPage.Content>
15         <View x:Name="ContentView"
16           WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
17           HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
18
19             <View.Layout>
20                 <LinearLayout LinearOrientation="Vertical" CellPadding="0, 10"/>
21             </View.Layout>
22
23             <Button x:Name="buttonPush"
24                         Text="Push"
25                         WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
26                         HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
27                         Clicked="ButtonPushClicked"/>
28             <Button x:Name="buttonPop"
29                         Text="Pop"
30                         WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
31                         HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
32                         Clicked="ButtonPopClicked"/>
33             <Button x:Name="buttonInsert"
34                         Text="Insert"
35                         WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
36                         HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
37                         Clicked="ButtonInsertClicked"/>
38             <Button x:Name="buttonInsertBefore"
39                         Text="InsertBefore"
40                         WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
41                         HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
42                         Clicked="ButtonInsertBeforeClicked"/>
43             <Button x:Name="buttonRemove"
44                         Text="Remove"
45                         WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
46                         HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
47                         Clicked="ButtonRemoveClicked"/>
48             <Button x:Name="buttonRemoveAt"
49                         Text="RemoveAt"
50                         WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
51                         HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
52                         Clicked="ButtonRemoveAtClicked"/>
53         </View>
54     </ContentPage.Content>
55
56 </ContentPage>