menu

WinForms

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

    Show / Hide Table of Contents

    Class GridCountChangingEventArgs

    Provides data about the HeaderRowCountChanging, FrozenRowCountChanging, HeaderColCountChanging, and FrozenColCountChanging events.

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

    GridCountChangingEventArgs is a custom event argument class used by the HeaderRowCountChanging, FrozenRowCountChanging, HeaderColCountChanging, and FrozenColCountChanging events.

    This event is raised by the model to notify all associated views that it is about to change the specified range of rows and columns in 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 HeaderCount or FrozenCount.

    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

    GridCountChangingEventArgs(Int32)

    Initializes the new instances of the GridCountChangingEventArgs class.

    Declaration
    public GridCountChangingEventArgs(int count)
    Parameters
    Type Name Description
    System.Int32 count

    The new number of frozen or header rows or columns (depending on event).

    Properties

    Value

    Gets the new number of frozen or header rows or columns (depending on event).

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

    See Also

    GridCountChangingEventHandler
    HeaderCount
    FrozenCount
    GridCountChangedEventArgs
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved