'DeclarationPublic Enum DropTargetType Inherits System.Enum
'UsageDim instance As DropTargetType
public enum DropTargetType : System.Enum
Represents the type of a drop target.
'DeclarationPublic Enum DropTargetType Inherits System.Enum
'UsageDim instance As DropTargetType
public enum DropTargetType : System.Enum
| Member | Value | Description |
|---|---|---|
| AnchorablePaneDockBottom | 13 | Drop target is below an anchorable pane. |
| AnchorablePaneDockInside | 14 | Drop target is inside an anchorable pane. (Anchorable will be added to the containing pane.) |
| AnchorablePaneDockLeft | 10 | Drop target is to the left of an anchorable pane. |
| AnchorablePaneDockRight | 12 | Drop target is to the right of an anchorable pane. |
| AnchorablePaneDockTop | 11 | Drop target is above an anchorable pane. |
| DockingManagerDockBottom | 3 | Drop target is below all of the other document or anchorable panes. |
| DockingManagerDockLeft | 0 | Drop target is to the left of all of the other document or anchorable panes. |
| DockingManagerDockRight | 2 | Drop target is to the right of all of the other document or anchorable panes. |
| DockingManagerDockTop | 1 | Drop target is above all of the other document or anchorable panes. |
| DocumentPaneDockAsAnchorableBottom | 18 | Drop target is below a document pane. Dropped item will be docked as an anchorable. |
| DocumentPaneDockAsAnchorableLeft | 15 | Drop target is to the left of a document pane. Dropped item will be docked as an anchorable. |
| DocumentPaneDockAsAnchorableRight | 17 | Drop target is to the right of a document pane. Dropped item will be docked as an anchorable. |
| DocumentPaneDockAsAnchorableTop | 16 | Drop target is above a document pane. Dropped item will be docked as an anchorable. |
| DocumentPaneDockBottom | 7 | Drop target is below a document pane. |
| DocumentPaneDockInside | 8 | Drop target is inside a document. (Document will be added to the containing pane.) |
| DocumentPaneDockLeft | 4 | Drop target is to the left of a document pane. |
| DocumentPaneDockRight | 6 | Drop target is to the right of a document pane. |
| DocumentPaneDockTop | 5 | Drop target is above a document pane. |
| DocumentPaneGroupDockInside | 9 | Drop target is within a document group pane. (Document will be added to the pane group.) |
These values correpond to the visual cues displayed when dragging a document or an anchorable over AvalonDock: dropping a document or an anchorable on top of a cue results in the dragged item being docked, etc., as indicated by the visual cue.
Dropping a content element on the center drop target over another content element adds it to a pane. For example, dropping an anchorable on this target moves it into a LayoutAnchorablePane.
Dropping a content element to the left/right or top/bottom of a center drop target instead creates a new LayoutAnchorablePane or LayoutDocumentPane in the appropriate position (in a new LayoutAnchorablePaneGroup, if necessary). Dropping it to the left/right sets LayoutAnchorablePaneGroup.Orientation to Vertical; to the top/bottom sets it to Horizontal.
System.Object
System.ValueType
System.Enum
Xceed.Wpf.AvalonDock.Controls.DropTargetType
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.