Class SelectedRecordsChangedEventArgs
Represents the class that provides the event data for the SelectedRecordsChanged and SelectedRecordsChanging event which occur when the SelectedRecords collection is/was modified.
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public sealed class SelectedRecordsChangedEventArgs : SyncfusionCancelEventArgs
Constructors
SelectedRecordsChangedEventArgs(Table, SelectedRecordsChangedType, SelectedRecord)
Initializes a new instance for the SelectedRecordsChangedEventArgs class.
Declaration
public SelectedRecordsChangedEventArgs(Table table, SelectedRecordsChangedType action, SelectedRecord selectedRecord)
Parameters
Type | Name | Description |
---|---|---|
Table | table | The table the SelectedRecords collection belongs to. |
SelectedRecordsChangedType | action | Specifies the kind of action that occurred:
|
SelectedRecord | selectedRecord | The affected record |
Properties
Action
Gets the kind of action that occurred:
- Added: A record is or was added to the SelectedRecords collection
- Deleted: A record is or was removed from the SelectedRecords collection
- Reset: The SelectedRecords collection is or was cleared.
Declaration
[TraceProperty(true)]
public SelectedRecordsChangedType Action { get; }
Property Value
Type |
---|
SelectedRecordsChangedType |
SelectedRecord
Gets the affected record.
Declaration
[TraceProperty(true)]
public SelectedRecord SelectedRecord { get; }
Property Value
Type |
---|
SelectedRecord |
Table
Gets the value of table the SelectedRecords collection belongs to.
Declaration
[TraceProperty(true)]
public Table Table { get; }
Property Value
Type |
---|
Table |