WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCountChangedEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridCountChangedEventArgs

    Provides data about the HeaderRowCountChanged, FrozenRowCountChanged, HeaderColCountChanged, and FrozenColCountChanged events.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    SyncfusionSuccessEventArgs
    GridCountChangedEventArgs
    Inherited Members
    SyncfusionSuccessEventArgs.Success
    SyncfusionEventArgs.ToString()
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridCountChangedEventArgs : SyncfusionSuccessEventArgs
    Remarks

    GridCountChangedEventArgs is a custom event argument class used by the HeaderRowCountChanged, FrozenRowCountChanged, HeaderColCountChanged, and FrozenColCountChanged events.

    This event is raised by the model to notify all associated views that there has been a change to the specified range of rows and columns in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing HeaderCount or FrozenCount.

    The Success property indicates if all changes were successfully made to the model. If it is false, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not.

    Constructors

    GridCountChangedEventArgs(Int32, Boolean)

    Initializes the new instances of the GridCountChangedEventArgs class.

    Declaration
    public GridCountChangedEventArgs(int savedCount, bool success)
    Parameters
    Type Name Description
    System.Int32 savedCount

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

    System.Boolean success

    Indicates if operation was successful or aborted.

    Properties

    SavedValue

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

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

    See Also

    GridCountChangedEventHandler
    HeaderCount
    FrozenCount
    GridCountChangingEventArgs
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved