Class CommandBarWrappingEventArgs
Provides information about the CommandBarWrapping event.
Inheritance
System.Object
System.EventArgs
CommandBarWrappingEventArgs
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 CommandBarWrappingEventArgs : EventArgs
Remarks
CommandBarWrappingEventArgs is a custom event argument class used by the CommandBar class for notifying users of wrap events and also for getting the new size of the CommandBar's client control during custom wrapping.
Constructors
CommandBarWrappingEventArgs(Size, CommandBarResizeType)
Creates a new instance of the CommandBarWrappingEventArgs class.
Declaration
public CommandBarWrappingEventArgs(Size clientsize, CommandBarResizeType resizetype)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Size | clientsize | The current/proposed size of the CommandBar's client control. |
CommandBarResizeType | resizetype | A CommandBarResizeType value specifying the type of resizing. |
Fields
cbResizeType
Declaration
protected CommandBarResizeType cbResizeType
Field Value
Type |
---|
CommandBarResizeType |
szClient
Declaration
protected Size szClient
Field Value
Type |
---|
System.Drawing.Size |
Properties
ClientSize
Gets / sets the current/proposed size of the CommandBar's client control.
Declaration
public Size ClientSize { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | A Size value indicating the width and height for the CommandBar's client control. |
CommandBarResizeType
Returns the type of resizing taking place.
Declaration
public CommandBarResizeType CommandBarResizeType { get; }
Property Value
Type | Description |
---|---|
CommandBarResizeType | A CommandBarResizeType value. |