FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigatingCancelEventArgs

    struct · ferroui-controls · v0.5.0

    struct NavigatingCancelEventArgs
    

    The arguments of Frame.Navigating and FramePage::on_navigating_from (WinUI's NavigatingCancelEventArgs). Clones share the cancellation, also the copies markup handlers receive.

    View source

    Members

    cancel

    fn cancel(self: &Self) -> bool
    

    Gets whether the navigation is cancelled.

    Source

    set_cancel

    fn set_cancel(self: &Self, value: bool)
    

    Cancels the navigation (true) or lets it go on.

    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 the frame navigates to.

    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.