FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DragAndDropEventsBehaviorImpl

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

    trait DragAndDropEventsBehaviorImpl: StyledElementBehaviorImpl + $crate::Upcast<DragAndDropEventsBehavior>
    

    The overridable members introduced by the class.

    View source

    Members

    on_drag_enter

    fn on_drag_enter(this: &Self, sender: Option<&BoxedValue>, e: &DragEventArgs)
    

    Called when a drag-and-drop operation enters the element.

    Source

    on_drag_leave

    fn on_drag_leave(this: &Self, sender: Option<&BoxedValue>, e: &DragEventArgs)
    

    Called when a drag-and-drop operation leaves the element.

    Source

    on_drag_over

    fn on_drag_over(this: &Self, sender: Option<&BoxedValue>, e: &DragEventArgs)
    

    Called when a drag-and-drop operation is updated while over the element.

    Source

    on_drop

    fn on_drop(this: &Self, sender: Option<&BoxedValue>, e: &DragEventArgs)
    

    Called when a drag-and-drop operation should complete over the element.

    Source

    Trait implementations

    Availability

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