Class ControlMaximizeEventArgs
Provides data for a control maximize operation and allows the maximize action to be canceled.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ControlMaximizeEventArgs : ControlSizeStateChangedEventArgs
Remarks
Use this event arguments class with the ControlMaximizing
event to determine which dock-enabled control is being maximized and to optionally cancel
the maximize operation by setting the Cancel property to true.
This class inherits from ControlSizeStateChangedEventArgs and preserves
existing behavior to remain backward compatible.
Constructors
ControlMaximizeEventArgs(Control)
Initializes a new instance of the ControlMaximizeEventArgs class for the specified dock-enabled control.
Declaration
public ControlMaximizeEventArgs(Control control)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Control | control | The dock-enabled control that is being maximized. |
Fields
m_bCancel
Backing field for the Cancel property.
Maintained as protected for binary compatibility with existing derived types.
Declaration
protected bool m_bCancel
Field Value
| Type |
|---|
| System.Boolean |
Properties
Cancel
Gets or sets a value indicating whether the maximize operation should be canceled.
Set to true to prevent the control from being maximized; otherwise false.
Declaration
public bool Cancel { get; set; }
Property Value
| Type |
|---|
| System.Boolean |