DirectNavigation

Hi can anybody help me with an example of how to use DirectNavigation, I try to use it inside a pagecontrol. but it doesnt work.

Hi!

PageControl is a compound element that already contains a Navigation. It looks something like this:

<Panel ux:Class="PageControl">
    <LinearNavigation />
    <SwipeNavigate />
</Panel>

If you want to use DirectNavigation you have to set it up yourself. For example:

<Panel ux:Class="DirectNavigationControl">
    <DirectNavigation />
    <Style>
        <Page>
            <ExitingAnimation ...
        </Page>
    </Style>
</Panel>

Let me know if you have more questions regarding this :slight_smile:

Hi!

I have a similar issue with DirectNavigation. I don’t know how to implement DirectNavigation and separate .ux files. Take a look at https://goo.gl/Y2Sw2I for more info. Thanks!!!