ItemsControlContainerEventsBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ItemsControlContainerEventsBehavior
Base class that exposes container related events from an ItemsControl.
The class is abstract: a deriving class overrides the members of
ItemsControlContainerEventsBehaviorImpl it needs.
Members
TYPEto_refon_preparing_containeron_container_preparedon_container_index_changedon_container_clearingconstruct
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ItemsControlContainerEventsBehavior>
Returns a strong reference to this object.
on_preparing_container
fn on_preparing_container(self: &Self, sender: &ItemsControl, e: &ContainerPreparedEventArgs)
Called before the container is prepared.
on_container_prepared
fn on_container_prepared(self: &Self, sender: &ItemsControl, e: &ContainerPreparedEventArgs)
Called after the container has been prepared.
on_container_index_changed
fn on_container_index_changed(self: &Self, sender: &ItemsControl, e: &ContainerIndexChangedEventArgs)
Called when the index of a container has changed.
on_container_clearing
fn on_container_clearing(self: &Self, sender: &ItemsControl, e: &ContainerClearingEventArgs)
Called when a container is being cleared.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeItemsControlContainerEventsBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ItemsControlContainerEventsBehavior>StaticTypeObjectTypeSubclassable<T>FerroObjectImplStyledElementImplStyledElementBehaviorImplItemsControlContainerEventsBehaviorImplDisposingBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.