Class CommandBarStateChangingEventArgs
Provides data for the CommandBarStateChanging event.
Inheritance
System.Object
System.EventArgs
CommandBarStateChangingEventArgs
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 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 |
---|
CommandBarDockState |
m_cancel
Indicating whether the event should be canceled.
Declaration
protected bool m_cancel
Field Value
Type |
---|
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 |
---|
System.Boolean |
NewDockState
Gets / sets the CommandBar's new position.
Declaration
public CommandBarDockState NewDockState { get; set; }
Property Value
Type | Description |
---|---|
CommandBarDockState | A CommandBarDockState value. |