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.
Members
content
fn content(self: &Self) -> Option<Ref<FramePage>>
Gets the page the frame shows after the navigation; None for a stopped navigation.
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 of the navigation.
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.