Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.AvalonDock Assembly / Xceed.Wpf.AvalonDock.Controls Namespace / DropTargetType Enumeration


In This Topic
    DropTargetType Enumeration
    In This Topic

    Represents the type of a drop target.

    Syntax
    'Declaration
     
    
    Public Enum DropTargetType 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As DropTargetType
    public enum DropTargetType : System.Enum 
    Members
    MemberValueDescription
    AnchorablePaneDockBottom13Drop target is below an anchorable pane.
    AnchorablePaneDockInside14Drop target is inside an anchorable pane. (Anchorable will be added to the containing pane.)
    AnchorablePaneDockLeft10Drop target is to the left of an anchorable pane.
    AnchorablePaneDockRight12Drop target is to the right of an anchorable pane.
    AnchorablePaneDockTop11Drop target is above an anchorable pane.
    DockingManagerDockBottom3Drop target is below all of the other document or anchorable panes.
    DockingManagerDockLeft0Drop target is to the left of all of the other document or anchorable panes.
    DockingManagerDockRight2Drop target is to the right of all of the other document or anchorable panes.
    DockingManagerDockTop1Drop target is above all of the other document or anchorable panes.
    DocumentPaneDockAsAnchorableBottom18Drop target is below a document pane. Dropped item will be docked as an anchorable.
    DocumentPaneDockAsAnchorableLeft15Drop target is to the left of a document pane. Dropped item will be docked as an anchorable.
    DocumentPaneDockAsAnchorableRight17Drop target is to the right of a document pane. Dropped item will be docked as an anchorable.
    DocumentPaneDockAsAnchorableTop16Drop target is above a document pane. Dropped item will be docked as an anchorable.
    DocumentPaneDockBottom7Drop target is below a document pane.
    DocumentPaneDockInside8Drop target is inside a document. (Document will be added to the containing pane.)
    DocumentPaneDockLeft4Drop target is to the left of a document pane.
    DocumentPaneDockRight6Drop target is to the right of a document pane.
    DocumentPaneDockTop5Drop target is above a document pane.
    DocumentPaneGroupDockInside9Drop target is within a document group pane. (Document will be added to the pane group.)
    Remarks

    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.

    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Xceed.Wpf.AvalonDock.Controls.DropTargetType

    Supported Frameworks

    .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.

    See Also