alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class ControlMaximizeEventArgs

    Provides data for a control maximize operation and allows the maximize action to be canceled.

    Inheritance
    System.Object
    System.EventArgs
    ControlSizeStateChangedEventArgs
    ControlMaximizeEventArgs
    Inherited Members
    ControlSizeStateChangedEventArgs.Control
    ControlSizeStateChangedEventArgs.m_control
    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 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
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved