1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ContentPage x:Class="NUITizenGallery.ScrollViewTest3Page"
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}">
8 <!-- AppBar is top-side bar with navigation content, title, and action. If you not set any contents, back button is automatically added. -->
10 <AppBar x:Name="appBar" Title="ScrollViewTest3Page"/>
13 <!-- Content is main placeholder of ContentPage. Add your content into this view. -->
15 <View x:Name="ContentView"
16 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
17 HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
20 <LinearLayout LinearOrientation="Vertical" LinearAlignment="Begin" CellPadding="10, 10"/>
23 <TextLabel x:Name="scrollInfo" Text="scroll X:0, Y:0" Size2D="700,70" />
24 <View x:Name="lblView">
25 <ScrollableBase x:Name="Scroller" ScrollingDirection="Vertical" HideScrollbar="false" >
26 <ScrollableBase.Layout>
27 <LinearLayout LinearOrientation="Vertical" CellPadding="10, 10"/>
28 </ScrollableBase.Layout>
30 <Button x:Name="btn" Text="Test ScrollTo" Size2D="240,100" />
34 </ContentPage.Content>