FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PointerCaptureLostEventBehavior

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

    struct PointerCaptureLostEventBehavior
    

    Behavior that listens for the InputElement::pointer_capture_lost_event.

    The class is abstract: a deriving class overrides PointerCaptureLostEventBehaviorImpl::on_pointer_capture_lost.

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

    Returns a strong reference to this object.

    Source

    on_pointer_capture_lost

    fn on_pointer_capture_lost(self: &Self, sender: &Interactive, e: &PointerCaptureLostEventArgs)
    

    Called when pointer capture is lost on the associated control.

    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.