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.
Members
cancel
fn cancel(self: &Self) -> bool
Gets whether the navigation is cancelled.
set_cancel
fn set_cancel(self: &Self, value: bool)
Cancels the navigation (true) or lets it go on.
navigation_mode
fn navigation_mode(self: &Self) -> NavigationMode
Gets how the navigation was requested.
source_page_type
fn source_page_type(self: &Self) -> PageType
Gets the type of the page the frame navigates to.
parameter
fn parameter(self: &Self) -> Option<BoxedValue>
Gets the parameter of the navigation.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherClonePartialEqMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.