c# - How to add Page Indicator to FlipView? UWP -
currently i'm developing uwp app. want design welcome page when user opens app first time.
i want use flipview control display multiple pages. don't have idea how use flipview control , how add page indicator it.
can give me example of blank flipview control page indicator? thank you!
not sure asking for, little sample create flipview 3 pages , page indicator under show index of page.
<grid background="{themeresource applicationpagebackgroundthemebrush}"> <stackpanel> <flipview x:name="flipviewfun" height="300"> <flipviewitem> <textbox text="hello world" /> </flipviewitem> <flipviewitem> <textbox text="sweet" /> </flipviewitem> <flipviewitem> <textbox text="ok" /> </flipviewitem> </flipview> <textblock x:name="textblockpageindicator" horizontalalignment="center" fontsize="50" text="{binding elementname=flipviewfun, path=selectedindex}" /> </stackpanel> </grid>
obviously, if want more realistic page indicator (for instance not starting @ 0) you'll have add logic (like property) code-behind , bind (or view model if decide use mvvm pattern).
Comments
Post a Comment