Class GroupGridDataChangedEventArgs
Provides data for group grid adapter change notifications.
public class GroupGridDataChangedEventArgs : EventArgs
- Inheritance
-
GroupGridDataChangedEventArgs
- Inherited Members
- Extension Methods
Constructors
GroupGridDataChangedEventArgs(GroupGridDataChangeKind, int, int, string)
Initializes a new instance of the GroupGridDataChangedEventArgs class.
public GroupGridDataChangedEventArgs(GroupGridDataChangeKind Kind, int RowIndex = -1, int OldRowIndex = -1, string ColumnName = "")
Parameters
KindGroupGridDataChangeKindThe kind of change.
RowIndexintThe affected row index, or -1 when not applicable.
OldRowIndexintThe old row index for move operations, or -1 when not applicable.
ColumnNamestringThe affected column name, or an empty string when not applicable.
Properties
ColumnName
Gets the affected column name, or an empty string when not applicable.
public string ColumnName { get; }
Property Value
Kind
Gets the kind of change.
public GroupGridDataChangeKind Kind { get; }
Property Value
OldRowIndex
Gets the old row index for move operations, or -1 when not applicable.
public int OldRowIndex { get; }
Property Value
RowIndex
Gets the affected row index, or -1 when not applicable.
public int RowIndex { get; }
Property Value
Methods
CellChanged(int, string)
Creates a cell-changed notification.
public static GroupGridDataChangedEventArgs CellChanged(int RowIndex, string ColumnName)
Parameters
Returns
- GroupGridDataChangedEventArgs
The created event arguments.
Reset()
Creates a reset notification.
public static GroupGridDataChangedEventArgs Reset()
Returns
- GroupGridDataChangedEventArgs
The created event arguments.
RowAdded(int)
Creates a row-added notification.
public static GroupGridDataChangedEventArgs RowAdded(int RowIndex)
Parameters
RowIndexintThe added row index.
Returns
- GroupGridDataChangedEventArgs
The created event arguments.
RowChanged(int)
Creates a row-changed notification.
public static GroupGridDataChangedEventArgs RowChanged(int RowIndex)
Parameters
RowIndexintThe changed row index.
Returns
- GroupGridDataChangedEventArgs
The created event arguments.
RowMoved(int, int)
Creates a row-moved notification.
public static GroupGridDataChangedEventArgs RowMoved(int OldRowIndex, int RowIndex)
Parameters
Returns
- GroupGridDataChangedEventArgs
The created event arguments.
RowRemoved(int)
Creates a row-removed notification.
public static GroupGridDataChangedEventArgs RowRemoved(int RowIndex)
Parameters
RowIndexintThe removed row index.
Returns
- GroupGridDataChangedEventArgs
The created event arguments.