menu

WinForms

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

    Show / Hide Table of Contents

    Class GridCellsChangedEventArgs

    Provides data about the CellsChanged event.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    SyncfusionSuccessEventArgs
    GridCellsChangedEventArgs
    Inherited Members
    SyncfusionEventArgs.ToString()
    SyncfusionSuccessEventArgs.Success
    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)
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridCellsChangedEventArgs : SyncfusionSuccessEventArgs
    Remarks

    GridCellsChangedEventArgs is a custom event argument class used by the CellsChanged event.

    This event is raised by the model to notify all associated views that there has been a change to the specified range of cells 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 a ChangeCells(GridRangeInfo, GridStyleInfo[], StyleModifyType) method call.

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

    Constructors

    GridCellsChangedEventArgs(GridRangeInfo, GridStyleInfo[], Boolean)

    Initializes the new instances of the GridCellsChangedEventArgs class.

    Declaration
    public GridCellsChangedEventArgs(GridRangeInfo range, GridStyleInfo[] savedCellsInfo, bool success)
    Parameters
    Type Name Description
    GridRangeInfo range

    The range specifying the affected cells.

    GridStyleInfo[] savedCellsInfo

    Information about cell contents before the changes were applied to the grid.

    System.Boolean success

    Indicates whether an operation was successful.

    Properties

    Range

    Gets the range specifying the affected cells.

    Declaration
    [TraceProperty(true)]
    public GridRangeInfo Range { get; }
    Property Value
    Type
    GridRangeInfo

    SavedCellsInfo

    Gets the Information about cell contents before the changes were applied to the grid.

    Declaration
    public GridStyleInfo[] SavedCellsInfo { get; }
    Property Value
    Type
    GridStyleInfo[]

    See Also

    GridCellsChangedEventHandler
    CellsChanged
    ChangeCells(GridRangeInfo, GridStyleInfo[], StyleModifyType)
    GridCellsChangingEventArgs
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved