New to Telerik UI for WinFormsStart a free 30-day trial

Implements a transaction that is associated with a successful drag-and-drop operation.

Definition

Constructors

Constructs a new DragDropTransaction instance.

C#
public DragDropTransaction(DockState state, DockWindow draggedWindow, SplitPanel panel, SplitPanel anchor, DockPosition position)
Parameters:stateDockState

The target state of the transaction.

draggedWindowDockWindow

The DockWindow instance that has been dragged. May be null if the drag context has been DockTabStrip instance.

panelSplitPanel

The SplitPanel instance that has been dragged. May be null of the drag context has been DockWindow instance.

anchorSplitPanel

The SplitPanel instance that is used as dock anchor.

positionDockPosition

The DockPosition where to dock the dragged context.

Properties

Gets the SplitPanel instance associated with this transaction. May be null, depends on the dragged context.

C#
public SplitPanel AssociatedPanel { get; }

Gets the DockWindow instance associated with the transaction. May be null, depends on the dragged context.

C#
public DockWindow DraggedWindow { get; }

Returns the DragDrop transaction type.

C#
public override DockTransactionType TransactionType { get; }

Overrides: RadDockTransaction.TransactionType