SpreadsheetControl.DefinedNameDeleting Event
In This Article
Occurs before a Defined Name is deleted.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.XtraSpreadsheet.v24.2.dll
NuGet Package: DevExpress.Win.Spreadsheet
#Declaration
public event DefinedNameDeletingEventHandler DefinedNameDeleting
#Event Data
The DefinedNameDeleting event's data class is DefinedNameDeletingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel |
Gets or sets a value indicating whether the event should be canceled.
Inherited from Cancel |
Comment |
Gets the additional information about the current Defined Name.
Inherited from Defined |
Name |
Gets the name of the current Defined Name.
Inherited from Defined |
Reference |
Gets the reference to a cell or cell range, formula or constant associated with the Defined Name.
Inherited from Defined |
Scope |
Gets the scope (individual worksheet or entire workbook) where a Defined Name is recognized and can be used without qualification.
Inherited from Defined |
Scope |
Gets the index identifying the scope of the Defined Name.
Inherited from Defined |
#Remarks
The DefinedNameDeleting event allows you to cancel defined name deletion by setting the e.Cancel value to true.
Note
The Defined
See Also