Hi,
I’m trying and mixing some samples.
So, I trying to change the main_content in the Sidebar-Samples.
For Example the RotatingSidebar:
There i have following part:
<Panel ux:Name="content" TransformOrigin="TopLeft">
<LinearNavigation ux:Name="myPages"/>
<Page ux:Name="page1" Background="#FDF0CC"/>
<Page ux:Name="page2" Background="#F7CAB1"/>
<Page ux:Name="page3" Background="#E8A0A2"/>
<!--<Grid RowCount="4">
<Panel><SolidColor Color="#FDF0CC" /></Panel>
<Panel><SolidColor Color="#F7CAB1" /></Panel>
<Panel><SolidColor Color="#E8A0A2" /></Panel>
<Panel><SolidColor Color="#C2768E" /></Panel>
</Grid>-->
</Panel>
As you can see, I try to use some pages…and try to navigate trough them with the help of the SidebarButtons (for example just one Button):
<StackPanel ux:Name="profileButton">
<SidebarIcon>
<AccountIcon />
</SidebarIcon>
<Text>PROFILE</Text>
<Clicked>
<Set showMenu.Value="false" />
<Set myPages.Active="page1"/>
</Clicked>
</StackPanel>
That isn’t working at all. What should I do?
NavigateTo, and a DirectNavigation, isn’t working too.