How to trace the current target of Navigation?

Example:

<NavigationBar>
                <GridLayout RowCount="1" ColumnCount="3" />
                <Panel ux:Class="Nav" />

                <NavAlp>
                    <Text Content="A"/>
                    <WhilePressed>
                        <NavigateTo Context="_nav" Target="_A" />
                    </WhilePressed>
                </NavAlp>

                <NavAlp>
                    <Text Content="B" />
                    <WhilePressed>
                        <NavigateTo Context="_nav" Target="_B" />
                    </WhilePressed>
                </NavAlp>

                <NavAlp>
                    <Text Content="C" />
                    <WhilePressed>
                        <NavigateTo Context="_nav" Target="_C" />
                    </WhilePressed>
                </NavAlp>
</NavigationBar>

I would like to know what is the current target. Thanks!

I dont fully understand your usecase. Could you provide some more information on what you are trying to do?

Thanks :slight_smile:

HI! Kristian.

For example, there are 3 pages called A, B and C. When I click the B button, the page changes to page B. And what I want to know is whether there is a property/matter, which stores the name of current page, i.e. before clicking: A, After clicking: B.

Sorry about my poor expression in English…

Thank for ur help!

Navigation.Active

https://www.fusetools.com/developers/api/fuse/navigation/navigation/active

If you are using for example <LinearNavigation ux:Name="navigation"/> you could get it from navigation.Active