menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDefaultSizeChangingEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridDefaultSizeChangingEventArgs

    Provides data about the DefaultRowHeightChanging and DefaultColWidthChanging events.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    GridDefaultSizeChangingEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridDefaultSizeChangingEventArgs : SyncfusionCancelEventArgs
    Remarks

    GridDefaultSizeChangingEventArgs is a custom event argument class used by the DefaultRowHeightChanging and DefaultColWidthChanging events.

    This event is raised by the model to notify all associated views that it is about to change the default row height or column width of the grid and all associated views should prepare to redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing DefaultSize.

    The event handler can abort this operation by assigning True to the System.ComponentModel.CancelEventArgs.Cancel property. No changes will then take place in the grid model.

    Constructors

    GridDefaultSizeChangingEventArgs(Int32)

    Initializes the new instances of the GridDefaultSizeChangingEventArgs class.

    Declaration
    public GridDefaultSizeChangingEventArgs(int value)
    Parameters
    Type Name Description
    System.Int32 value

    The new default row height or column width.

    Properties

    Value

    Gets the new default row height or column width.

    Declaration
    [TraceProperty(true)]
    public int Value { get; }
    Property Value
    Type
    System.Int32

    See Also

    GridDefaultSizeChangingEventHandler
    DefaultSize
    GridDefaultSizeChangedEventArgs
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved