c# - How to get Scroll to work with a Vertically oriented Hub Control Windows Phone 8.1 App -
i'm building winrt windows phone 8.1 applicaiton. want utilize vertical hub command 3 hub sections. but, vertical scrolling hub command doesn't seem work after enabling necessary scrollviewer properties on hub. how enable vertical scrolling?
here hub control
<hub orientation="vertical" scrollviewer.verticalscrollmode="enabled" scrollviewer.isverticalrailenabled="true" scrollviewer.isverticalscrollchainingenabled="true"> <hubsection> <datatemplate> <textblock text="hello 1" fontsize="50" /> </datatemplate> </hubsection> <hubsection> <datatemplate> <textblock text="hello 2" fontsize="50" /> </datatemplate> </hubsection> <hubsection> <datatemplate> <textblock text="hello 3" fontsize="50" /> </datatemplate> </hubsection> </hub>
i glad if can point me in right direction. in advance.
hub designed used orientation=”horizontal” only. not utilize in orientation=”vertical”.
found @ windows blogs post
as
the hub control's behavior , rendering supported in portrait orientation only.
at msdn wp8.1 guidelines
c# windows-runtime winrt-xaml windows-phone-8.1 win-universal-app
No comments:
Post a Comment