FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<ItemsControlContainerEventsBehavior>
    

    Returns a strong reference to this object.

    Source

    on_preparing_container

    fn on_preparing_container(self: &Self, sender: &ItemsControl, e: &ContainerPreparedEventArgs)
    

    Called before the container is prepared.

    Source

    on_container_prepared

    fn on_container_prepared(self: &Self, sender: &ItemsControl, e: &ContainerPreparedEventArgs)
    

    Called after the container has been prepared.

    Source

    on_container_index_changed

    fn on_container_index_changed(self: &Self, sender: &ItemsControl, e: &ContainerIndexChangedEventArgs)
    

    Called when the index of a container has changed.

    Source

    on_container_clearing

    fn on_container_clearing(self: &Self, sender: &ItemsControl, e: &ContainerClearingEventArgs)
    

    Called when a container is being cleared.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.