i'm trying add 1 landscape page pivot view. rest of pages portrait pages.
how can achieve this?
this sample of want
<phone:phoneapplicationpage x:class="bitcointicker.mainpage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-namespace:microsoft.phone.controls;assembly=microsoft.phone" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:ignorable="d" d:datacontext="{d:designdata sampledata/mainviewmodelsampledata.xaml}" fontfamily="{staticresource phonefontfamilynormal}" fontsize="{staticresource phonefontsizenormal}" foreground="{staticresource phoneforegroundbrush}" supportedorientations="portrait" orientation="portrait"> <!--layoutroot root grid page content placed--> <grid x:name="layoutroot" background="transparent"> <!--pivot control--> <phone:pivot title="app title"> <!--pivot item one--> <phone:pivotitem header="first"> <!-- portrait page --> </phone:pivotitem> <!--pivot item two--> <phone:pivotitem header="second"> <!-- landscape page --> </phone:pivotitem> <!--pivot item 3 --> <phone:pivotitem header="third"> <!-- portrait page --> </phone:pivotitem> </phone:pivot> </grid> </phone:phoneapplicationpage> cheers
you should use panorama , follow windows phone design guidelines. details explained here: http://msdn.microsoft.com/library/windows/apps/hh202912(v=vs.105).aspx
Comments
Post a Comment