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

Represents the arguments associated with all cancelable events, associated with a DockWindow instance.

Definition

Namespace:Telerik.WinControls.UI.Docking

Assembly:Telerik.WinControls.RadDock.dll

Syntax:

C#
public class DockWindowCancelEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsDockWindowCancelEventArgs

Derived Classes: AutoHideWindowDisplayingEventArgsDockStateChangingEventArgsSelectedTabChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the DockWindowCancelEventArgs class.

C#
public DockWindowCancelEventArgs(DockWindow oldWindow, DockWindow newWindow)
Parameters:oldWindowDockWindow

The old dock window.

newWindowDockWindow

The new dock window.

Constructs a new instance of the DockWindowCancelEventArgs class.

C#
public DockWindowCancelEventArgs(DockWindow dockWindow)
Parameters:dockWindowDockWindow

Properties

Gets the new window.

C#
public DockWindow NewWindow { get; }
Property Value:

The new window.

Gets the old window.

C#
public DockWindow OldWindow { get; }
Property Value:

The old window.