FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ContextDropBehaviorBaseImpl

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

    trait ContextDropBehaviorBaseImpl: StyledElementBehaviorImpl + $crate::Upcast<ContextDropBehaviorBase>
    

    The overridable members introduced by the class.

    View source

    Members

    on_enter

    fn on_enter(this: &Self, sender: Option<&BoxedValue>, e: &DragEventArgs, source_context: Option<&BoxedValue>, target_context: Option<&BoxedValue>)
    

    Called when a drag enters the target.

    Source

    on_leave

    fn on_leave(this: &Self, sender: Option<&BoxedValue>, e: &RoutedEventArgs)
    

    Called when the drag leaves the target.

    Source

    on_over

    fn on_over(this: &Self, sender: Option<&BoxedValue>, e: &DragEventArgs, source_context: Option<&BoxedValue>, target_context: Option<&BoxedValue>)
    

    Called repeatedly as the drag moves over the target.

    Source

    on_drop

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

    Called when the drag is dropped on the target.

    Source

    Trait implementations

    Availability

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