WorksheetAddingEventArgs Class
Represents the class which holds the properties of WorksheetAdding Event.
Inheritance
System.Object
WorksheetAddingEventArgs
Namespace: Syncfusion.Windows.Forms.Spreadsheet.Helpers
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class WorksheetAddingEventArgs : EventArgs
Constructors
WorksheetAddingEventArgs()
Initializes a new instance of the WorksheetAddingEventArgs class.
Declaration
public WorksheetAddingEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to stop adding the sheet or else proceed further to add the sheet.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true if the insertion of sheet has to be stopped ; otherwise, false. |
SheetName
Gets or sets the name of the IWorksheet that is going to be added.
Declaration
public string SheetName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | Name of the sheet. |