PageSelectionChangedEventArgs
struct · ferroui-controls · v0.5.0
struct PageSelectionChangedEventArgs
Provides data for a page selection-changed event.
Members
new
fn new<T: ?Sized>(routed_event: Option<&RoutedEvent<T>>, previous_page: Option<Ref<Page>>, current_page: Option<Ref<Page>>) -> Self
Initializes a new instance of the PageSelectionChangedEventArgs
class.
routed_event is the routed event associated with this event args
instance, previous_page the page that was selected before the
change (None if no page was selected) and current_page the page
that is now selected (None if the selection was cleared).
previous_page
fn previous_page(self: &Self) -> Option<Ref<Page>>
Gets the page that was selected before the change.
current_page
fn current_page(self: &Self) -> Option<Ref<Page>>
Gets the page that is now selected.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherMarkupTypedCloneDerefIRoutedEventArgsPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.