WinForms

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

    Show / Hide Table of Contents

    Class GridCurrentCellListItemChangedEventArgs

    Lets you dynamically define the behavior when the grid is notified from the underlying IBindingList that the data for the current records are changed.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    GridCurrentCellListItemChangedEventArgs
    Inherited Members
    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 GridCurrentCellListItemChangedEventArgs : SyncfusionEventArgs

    Constructors

    GridCurrentCellListItemChangedEventArgs(Int32, Boolean, GridCurrentCell, GridCurrentRecordItemChangedBehavior)

    Initializes the event arguments.

    Declaration
    public GridCurrentCellListItemChangedEventArgs(int recordIndex, bool isEditing, GridCurrentCell gcc, GridCurrentRecordItemChangedBehavior currentRecordItemChangedBehavior)
    Parameters
    Type Name Description
    System.Int32 recordIndex

    The current record position.

    System.Boolean isEditing

    Indicates if current record was edited by user.

    GridCurrentCell gcc

    A reference to the GridCurrentCell, lets you check gcc.IsModified, for example.

    GridCurrentRecordItemChangedBehavior currentRecordItemChangedBehavior

    Specifies how the grid should resolve this conflict.

    Properties

    CurrentCell

    Gets a reference to the GridCurrentCell, lets you check CurrentCell.IsModified, for example.

    Declaration
    [TraceProperty(true)]
    public GridCurrentCell CurrentCell { get; }
    Property Value
    Type Description
    GridCurrentCell

    CurrentRecordItemChangedBehavior

    Gets or sets how the grid should resolve this conflict.

    Declaration
    [TraceProperty(true)]
    public GridCurrentRecordItemChangedBehavior CurrentRecordItemChangedBehavior { get; set; }
    Property Value
    Type Description
    GridCurrentRecordItemChangedBehavior

    IsEditing

    Gets a value indicating whether current record was edited by user.

    Declaration
    [TraceProperty(true)]
    public bool IsEditing { get; }
    Property Value
    Type Description
    System.Boolean

    RecordIndex

    Gets the current record position.

    Declaration
    [TraceProperty(true)]
    public int RecordIndex { get; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved