FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SelectingItemsControlEventsBehavior

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct SelectingItemsControlEventsBehavior
    

    A base class for behaviors that handle the selection changed event of the associated SelectingItemsControl: the event goes to on_selection_changed.

    The class is abstract.

    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<SelectingItemsControlEventsBehavior>
    

    Returns a strong reference to this object.

    Source

    on_selection_changed

    fn on_selection_changed(self: &Self, sender: &Interactive, e: &SelectionChangedEventArgs)
    

    Called when the selection of the associated control changes. The object? sender of the reference is the element the handler is attached to.

    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.