Class GridCancelEventArgs
Provides data for a cancellable event.
Inheritance
System.Object
System.EventArgs
GridCancelEventArgs
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)
System.Object.ToString()
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. |