menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DockStateChangeEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DockStateChangeEventArgs

    Custom event argument class used for notifying users of dockstate changes.

    Inheritance
    System.Object
    System.EventArgs
    DockStateChangeEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class DockStateChangeEventArgs : EventArgs
    Remarks

    The DockStateChangeEventArgs class is used by the DockingManager to provide event data for the DockStateChanging and DockStateChanged events.

    Constructors

    DockStateChangeEventArgs(Control[])

    Creates a new instance of the DockStateChangeEventArgs class.

    Declaration
    public DockStateChangeEventArgs(Control[] ctrls)
    Parameters
    Type Name Description
    System.Windows.Forms.Control[] ctrls

    The control(s) being docked/floated.

    Fields

    ctrlArray

    Declaration
    protected Control[] ctrlArray
    Field Value
    Type
    System.Windows.Forms.Control[]

    Properties

    Controls

    Returns the collection of controls undergoing the dockstate transfer.

    Declaration
    public Control[] Controls { get; }
    Property Value
    Type
    System.Windows.Forms.Control[]

    Handled

    Gets or sets a value that decides whether to handle the dock state changes in DockingManager.

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

    NewState

    Gets or sets a value that indicates the new state of dock child.

    Declaration
    public DockState NewState { get; }
    Property Value
    Type
    DockState

    OldState

    Gets a value that indicates the old state of dock child.

    Declaration
    public DockState OldState { get; }
    Property Value
    Type
    DockState

    See Also

    DockStateChangeEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved