# TypedDragBehaviorBaseImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-interactions-draganddrop/trait-typeddragbehaviorbaseimpl/

**trait** · [`ferroui-xaml-interactions-draganddrop`](/docs/0.5.0/api/ferroui-xaml-interactions-draganddrop/) · v0.5.0

```rust
trait TypedDragBehaviorBaseImpl: StyledElementBehaviorImpl + $crate::Upcast<TypedDragBehaviorBase>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.DragAndDrop/typed_drag_behavior_base.rs#L35)

## Members

- [`on_before_drag_drop`](#function-on_before_drag_drop)
- [`on_after_drag_drop`](#function-on_after_drag_drop)

<a id="function-on_before_drag_drop"></a>

### on_before_drag_drop

```rust
fn on_before_drag_drop(this: &Self, sender: Option<&BoxedValue>, e: &PointerEventArgs, context: Option<&BoxedValue>)
```

Called before the drag operation begins.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.DragAndDrop/typed_drag_behavior_base.rs#L35)

<a id="function-on_after_drag_drop"></a>

### on_after_drag_drop

```rust
fn on_after_drag_drop(this: &Self, sender: Option<&BoxedValue>, e: &PointerEventArgs, context: Option<&BoxedValue>)
```

Called after the drag operation completes.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.DragAndDrop/typed_drag_behavior_base.rs#L35)

## Trait implementations

- [`TypedDragBehaviorBaseImpl`](/docs/0.5.0/api/ferroui-xaml-interactions-draganddrop/trait-typeddragbehaviorbaseimpl/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
