C# Класс ComponentFactory.Krypton.Docking.DragTargetControlEdge

Target one of the four sides of a docking control.
Наследование: DragTarget
Показать файл Открыть проект

Открытые методы

Метод Описание
DragTargetControlEdge ( Rectangle screenRect, Rectangle hotRect, Rectangle drawRect, DragTargetHint hint, KryptonDockingControl controlElement, KryptonPageFlags allowFlags, bool outsideEdge ) : System

Initialize a new instance of the DragTargetControlEdge class.

IsMatch ( Point screenPt, PageDragEndData dragEndData ) : bool

Is this target a match for the provided screen position.

PerformDrop ( Point screenPt, PageDragEndData data ) : bool

Perform the drop action associated with the target.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

Описание методов

Dispose() защищенный Метод

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
Результат void

DragTargetControlEdge() публичный Метод

Initialize a new instance of the DragTargetControlEdge class.
public DragTargetControlEdge ( Rectangle screenRect, Rectangle hotRect, Rectangle drawRect, DragTargetHint hint, KryptonDockingControl controlElement, KryptonPageFlags allowFlags, bool outsideEdge ) : System
screenRect System.Drawing.Rectangle Rectangle for screen area.
hotRect System.Drawing.Rectangle Rectangle for hot area.
drawRect System.Drawing.Rectangle Rectangle for draw area.
hint DragTargetHint Target hint which should be one of the edges.
controlElement KryptonDockingControl Workspace instance that contains cell.
allowFlags KryptonPageFlags Only drop pages that have one of these flags defined.
outsideEdge bool Add to the outside edge (otherwise the inner edge).
Результат System

IsMatch() публичный Метод

Is this target a match for the provided screen position.
public IsMatch ( Point screenPt, PageDragEndData dragEndData ) : bool
screenPt Point Position in screen coordinates.
dragEndData ComponentFactory.Krypton.Navigator.PageDragEndData Data to be dropped at destination.
Результат bool

PerformDrop() публичный Метод

Perform the drop action associated with the target.
public PerformDrop ( Point screenPt, PageDragEndData data ) : bool
screenPt Point Position in screen coordinates.
data ComponentFactory.Krypton.Navigator.PageDragEndData Data to pass to the target to process drop.
Результат bool