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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -