GridCancelEventArgs Class
Provides data for a cancellable event.
Inheritance
System.Object
GridCancelEventArgs
Namespace: Syncfusion.Windows.Forms.CellGrid.Helpers
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class GridCancelEventArgs : EventArgs
Constructors
GridCancelEventArgs()
Overloaded. Initializes a new instance of the GridCancelEventArgs class.
Declaration
public GridCancelEventArgs()
GridCancelEventArgs(Boolean)
Initializes a new instance of the GridCancelEventArgs class with the Cancel property set to the given value.
Declaration
public GridCancelEventArgs(bool cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | cancel |
Properties
Cancel
Gets or sets a value indicating whether to allow or cancel the event.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | True or False. |