Class WorksheetAddingEventArgs
Represents the class which holds the properties of WorksheetAdding Event.
Inheritance
System.Object
System.EventArgs
WorksheetAddingEventArgs
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 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. |