# ManagedContextDropArgs

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

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

```rust
struct ManagedContextDropArgs
```

Arguments used by managed drop handlers to describe the drop context.

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

## Members

- [`payload`](#struct_field-payload)
- [`data_format`](#struct_field-data_format)
- [`effects`](#struct_field-effects)
- [`origin_top_level`](#struct_field-origin_top_level)
- [`position`](#struct_field-position)
- [`screen_position`](#struct_field-screen_position)

<a id="struct_field-payload"></a>

### payload

```rust
payload: Option<ferroui_base::BoxedValue>
```

Gets or sets the payload transported by the managed drag operation.

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

<a id="struct_field-data_format"></a>

### data_format

```rust
data_format: Option<String>
```

Gets or sets the data format of the `payload`.

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

<a id="struct_field-effects"></a>

### effects

```rust
effects: ferroui_base::input::DragDropEffects
```

Gets or sets the drag-drop effects requested by the initiator.

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

<a id="struct_field-origin_top_level"></a>

### origin_top_level

```rust
origin_top_level: Option<ferroui_base::Ref<ferroui_controls::TopLevel>>
```

Gets or sets the top-level that originated the drag.

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

<a id="struct_field-position"></a>

### position

```rust
position: ferroui_base::Point
```

Gets or sets the pointer position local to the drop target control.

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

<a id="struct_field-screen_position"></a>

### screen_position

```rust
screen_position: ferroui_base::PixelPoint
```

Gets or sets the pointer position in screen pixel coordinates.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Default`

## Availability

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