Navigates backward in the navigation stack/z-order of a Navigation, PageControl, or WebView.

Example

In this example, GoBack will be used to navigate away from the first page of a PageControl.

<PageControl>
    <Panel Background="#0F0" ux:Name="firstPage">
        <Button Text="GoBack" Alignment="Center" Margin="10">
            <Clicked>
                <GoBack />
            </Clicked>
        </Button>
    </Panel>
    <Panel Background="#F00" ux:Name="secondPage">
        <Button Alignment="Center" Text="Go to page 1">
            <Clicked>
                <NavigateTo Target="firstPage" />
            </Clicked>
        </Button>
    </Panel>
</PageControl>

Backward refers to pages that are behind the active one in navigation order. This trigger is not suitable for navigation that does not have a history or sequence of pages.

See Navigation Order

Location

Namespace
Fuse.Navigation
Package
Fuse.Navigation 2.9.1
Show Uno properties and methods

Interface of GoBack

Inherited from BackForwardNavigationTriggerAction

Inherited from TriggerAction

AtProgress : float ux

A value between 0 and 1 for when the action should be performed. Alternative to Delay.

Delay : float ux

The number of seconds after the start of the trigger that the action should be performed.

TargetNode : Node ux

The node that the action targets. If not specified then the enclsoing Trigger will be used. Several triggers can look for a target starting from this point. Some triggers require a Target to be specified.

Unroot uno

Called when the owner of this object is unrooted. This gives an action to cleanup resources or cancel pending actions.

Inherited from PropertyObject

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces