Class WorksheetRemovingEventArgs
Represents the class which holds the properties of WorksheetRemoving event.
Inheritance
System.Object
System.EventArgs
WorksheetRemovingEventArgs
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.Spreadsheet.Helpers
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class WorksheetRemovingEventArgs : EventArgs
Constructors
WorksheetRemovingEventArgs()
Initializes a new instance of the WorksheetRemovingEventArgs class.
Declaration
public WorksheetRemovingEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to stop removing the sheet or else proceed further to remove the sheet.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the removal of the worksheet should be stopped; otherwise, false. |
SheetName
Gets the name of the IWorksheet that is to be removed.
Declaration
public string SheetName { get; }
Property Value
Type | Description |
---|---|
System.String | Name of the Worksheet. |