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
GridCurrentCellListItemChangedEventArgs
Inherited Members
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 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 |
---|
GridCurrentCell |
CurrentRecordItemChangedBehavior
Gets or sets how the grid should resolve this conflict.
Declaration
[TraceProperty(true)]
public GridCurrentRecordItemChangedBehavior CurrentRecordItemChangedBehavior { get; set; }
Property Value
Type |
---|
GridCurrentRecordItemChangedBehavior |
IsEditing
Gets a value indicating whether current record was edited by user.
Declaration
[TraceProperty(true)]
public bool IsEditing { get; }
Property Value
Type |
---|
System.Boolean |
RecordIndex
Gets the current record position.
Declaration
[TraceProperty(true)]
public int RecordIndex { get; }
Property Value
Type |
---|
System.Int32 |