WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DockVisibilityChangingEventArgs

    Show / Hide Table of Contents

    Class DockVisibilityChangingEventArgs

    Custom event argument class used for notifying users of DockVisibility state changing.

    Inheritance
    System.Object
    System.EventArgs
    DockControlEventArgs
    DockVisibilityChangingEventArgs
    Inherited Members
    DockControlEventArgs.ctrl
    DockControlEventArgs.Control
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    DockingAction

    Cancel

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    Indicates whether to close the selected docking window.

    See Also

    DockVisibilityChangingEventHandler
    DockControlEventArgs
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved