WinForms

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

    Show / Hide Table of Contents

    Class CommandBarStateChangingEventArgs

    Provides data for the CommandBarStateChanging event.

    Inheritance
    System.Object
    System.EventArgs
    CommandBarStateChangingEventArgs
    Inherited Members
    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 CommandBarStateChangingEventArgs : EventArgs
    Remarks

    The CommandBarStateChangingEventArgs is a custom event argument class used by the CommandBarStateChanging event for notifying subscribers that a CommandBar's dock/float state is about to change.

    Constructors

    CommandBarStateChangingEventArgs(CommandBarDockState)

    Creates an instance of the CommandBarStateChangingEventArgs class.

    Declaration
    public CommandBarStateChangingEventArgs(CommandBarDockState state)
    Parameters
    Type Name Description
    CommandBarDockState state

    A CommandBarDockState value indicating the new state of the CommandBar.

    Fields

    cbarDockState

    Declaration
    protected CommandBarDockState cbarDockState
    Field Value
    Type Description
    CommandBarDockState

    m_cancel

    Indicating whether the event should be canceled.

    Declaration
    protected bool m_cancel
    Field Value
    Type Description
    System.Boolean

    Properties

    Cancel

    Gets or sets a value indicating whether the event should be canceled.

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

    NewDockState

    Gets / sets the CommandBar's new position.

    Declaration
    public CommandBarDockState NewDockState { get; set; }
    Property Value
    Type Description
    CommandBarDockState

    A CommandBarDockState value.

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