DockingWindowsDragOverEventArgs Class
Provides event arguments for when one or more docking windows are dragged over a new dock target, with support for hiding certain dock guides by altering the AllowedDockGuideKinds property.
public class DockingWindowsDragOverEventArgs : DockingWindowsEventArgs
- Inheritance:
- Object EventArgs RoutedEventArgs CancelRoutedEventArgs DockingWindowsEventArgs Object
Constructors
DockingWindowsDragOverEventArgs(DockHost, IDockTarget, DockGuideKinds)
Initializes a new instance of the DockingWindowsDragOverEventArgs class.
public DockingWindowsDragOverEventArgs(DockHost draggedDockHost, IDockTarget target, DockGuideKinds supportedDockGuideKinds)
Parameter | Type | Description |
---|---|---|
draggedDockHost | DockHost | The DockHost that is being dragged, and that contains the Windows. |
target | IDockTarget | The IDockTarget that the drag is over. |
supportedDockGuideKinds | DockGuideKinds | The dock guide kinds that are supported by this DraggedDockHost and dock Target combination. |
Properties
AllowedDockGuideKinds
Gets or sets the dock guide kinds that are allowed by this DraggedDockHost and dock Target combination.
public DockGuideKinds AllowedDockGuideKinds { get; set; }
Property Value
- DockGuideKinds:
The dock guide kinds that are allowed by this DraggedDockHost and dock Target combination.
Remarks
Remove dock guide kind flags from this property to prevent the related dock guide from showing.
DraggedDockHost
public DockHost DraggedDockHost { get; }
Property Value
SupportedDockGuideKinds
Gets the dock guide kinds that are supported by this DraggedDockHost and dock Target combination.
public DockGuideKinds SupportedDockGuideKinds { get; }
Property Value
- DockGuideKinds:
The dock guide kinds that are supported by this DraggedDockHost and dock Target combination.
See Also
Target
Gets the IDockTarget that the drag is over.
public IDockTarget Target { get; }
Property Value
- IDockTarget:
The IDockTarget that the drag is over.