Animating the SplitView.OpenPaneLength in UWP -


i use splitview control in uwp , want increase width of splitview if user clicks on top-level items in it. splitview should display second level of options. microsoft's uwp mail app this: if click on "folders", list of available folders extension splitview. extension nicely animated.

i can increase splitview's openpanelength setter this:

<setter target="mainsplitview.(splitview.openpanelength)" value="260"/> 

put doesn't animate changes. possible this?

the setter sets discrete values, need use storyboard (visualstate.storyboard) , doubleanimation, this: (haven't tested it, should give idea...)

<doubleanimation storyboard.targetname="mainsplitview"                  storyboard.targetproperty="(splitview.openpanelength)"                  to="260" /> 

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 -