FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigationEventArgs

    struct · ferroui-controls · v0.5.0

    struct NavigationEventArgs
    

    The arguments of Frame.Navigated, Frame.NavigationStopped and the navigation callbacks of FramePage (WinUI's NavigationEventArgs). It is ferroui_controls::navigation::NavigationEventArgs; the view builders name it FrameNavigationEventArgs, beside the upstream NavigationEventArgs of the pages.

    View source

    Members

    content

    fn content(self: &Self) -> Option<Ref<FramePage>>
    

    Gets the page the frame shows after the navigation; None for a stopped navigation.

    Source

    navigation_mode

    fn navigation_mode(self: &Self) -> NavigationMode
    

    Gets how the navigation was requested.

    Source

    source_page_type

    fn source_page_type(self: &Self) -> PageType
    

    Gets the type of the page of the navigation.

    Source

    parameter

    fn parameter(self: &Self) -> Option<BoxedValue>
    

    Gets the parameter of the navigation.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • PartialEq
    • MarkupTyped

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.