Class DockVisibilityChangingEventArgs
Custom event argument class used for notifying users of DockVisibility state changing.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class DockVisibilityChangingEventArgs : DockControlEventArgs
Remarks
The DockVisibilityChangingEventArgs class is used by the DockingManager to provide event data for the DockVisibilityChanging event.
Constructors
DockVisibilityChangingEventArgs(Control)
Overloaded. Creates a new instance of the DockVisibilityChangedEventArgs class.
Declaration
public DockVisibilityChangingEventArgs(Control ctrl)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctrl | The control for which the DockVisibility state is changing. |
DockVisibilityChangingEventArgs(Control, Boolean)
Creates a new instance of the DockVisibilityChangedEventArgs class
with specified Cancel
property value.
Declaration
public DockVisibilityChangingEventArgs(Control ctrl, bool cncl)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctrl | The control for which the DockVisibility state is changing. |
System.Boolean | cncl | The value of Cancel property. |
DockVisibilityChangingEventArgs(Control, Boolean, DockingAction)
Creates a new instance of the DockVisibilityChangedEventArgs class
with specified Cancel
property value.
Declaration
public DockVisibilityChangingEventArgs(Control ctrl, bool cncl, DockingAction dAction)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctrl | The control for which the DockVisibility state is changing. |
System.Boolean | cncl | The value of Cancel property. |
DockingAction | dAction |
Properties
Action
Gets the DockingAction
Declaration
public DockingAction Action { get; }
Property Value
Type |
---|
DockingAction |
Cancel
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Indicates whether to close the selected docking window. |