Class CurrentRecordContextChangeEventArgs
Represents a class that provides the data for the CurrentRecordContextChange event that occurs before and after the status of the current record is changed. Check the Action to get information on which current record state was changed.
Inheritance
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public sealed class CurrentRecordContextChangeEventArgs : CancelEventArgs
Constructors
CurrentRecordContextChangeEventArgs(CurrentRecordAction, Table, Element, Boolean)
Initializes a new instance of the CurrentRecordContextChangeEventArgs class.
Declaration
public CurrentRecordContextChangeEventArgs(CurrentRecordAction action, Table table, Element record, bool success)
Parameters
Type | Name | Description |
---|---|---|
CurrentRecordAction | action | Specifies how the current record context changes. |
Table | table | The affected table. |
Element | record | The affected record. |
System.Boolean | success | Indicates if the operation was completed successfully or failed. |
Properties
Action
Gets the value of how the current record context changes.
Declaration
public CurrentRecordAction Action { get; }
Property Value
Type |
---|
CurrentRecordAction |
Record
Gets the affected record.
Declaration
public Element Record { get; }
Property Value
Type |
---|
Element |
Success
Gets the value indicating whether the operation was completed successfully or failed.
Declaration
public bool Success { get; }
Property Value
Type |
---|
System.Boolean |
Table
Gets the affected table.
Declaration
public Table Table { get; }
Property Value
Type |
---|
Table |
Methods
ToString()
Overridden to get string representation of the event args object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation of the current object. |