FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IDragHandler

    trait · ferroui-xaml-interactions-draganddrop · v0.5.0

    trait IDragHandler
    

    Provides callbacks for drag operations.

    sender is the element the drag starts from (an untyped value holding the object), e the pointer event that started the drag and context the data dragged.

    View source

    Members

    before_drag_drop

    fn before_drag_drop(self: &Self, sender: Option<&BoxedValue>, e: &PointerEventArgs, context: Option<&BoxedValue>)
    

    Called before the drag operation begins.

    Source

    after_drag_drop

    fn after_drag_drop(self: &Self, sender: Option<&BoxedValue>, e: &PointerEventArgs, context: Option<&BoxedValue>)
    

    Called after the drag operation completes.

    Source

    Availability

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