Class TreeListDragPayload
What a TreeList drag carries.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public sealed class TreeListDragPayload
Remarks
UITK drags do not carry a MIME-typed data transfer the way the DOM does, so the web
implementation's private application/x-appui-tree-item type is expressed here as a
typed payload instead. A foreign drop target that is handed one of these can identify a tree
row by its type — or by mimeType when it bridges to a string-keyed protocol —
rather than guessing from a bare id string.
Properties
items
The rows being dragged, in selection priority order. Index 0 is the row the pointer grabbed.
Declaration
public IReadOnlyList<TreeViewItem> items { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<TreeViewItem> |
mimeType
The MIME type a tree-row drag publishes itself under, mirroring the web registry's
TREE_ITEM_MIME.
Declaration
public string mimeType { get; }
Property Value
| Type | Description |
|---|---|
| string |
source
The tree the drag started in.
Declaration
public TreeList source { get; }
Property Value
| Type | Description |
|---|---|
| TreeList |