New to Telerik UI for WinForms? Start a free 30-day trial

Implements a transaction that is associated with a successful Redock request.

Definition

Constructors

Constructs a new RedockTransaction instance.

C#
public RedockTransaction(DockState state, IEnumerable<DockWindow> windows, bool defaultAction)
Parameters:stateDockState

The target DockState for the transaction.

windowsIEnumerable<DockWindow>

The windows to restore to the target state.

defaultActionbool

Whether to apply the default docking action when a saved state is missing or cannot be restored.

Properties

Determines whether a default action will be performed when a saved state is missing or cannot be restored.

C#
public bool PerformDefaultAction { get; }

Gets the reason for the redock transaction.

C#
public RedockTransactionReason Reason { get; }

Returns the Redock transaction type.

C#
public override DockTransactionType TransactionType { get; }

Overrides: RadDockTransaction.TransactionType