Back to Devexpress

SpreadsheetControl.DefinedNameDeleting Event

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-d5a64884.md

latest3.6 KB
Original Source

SpreadsheetControl.DefinedNameDeleting Event

Occurs before a Defined Name is deleted.

Namespace : DevExpress.Xpf.Spreadsheet

Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public event DefinedNameDeletingEventHandler DefinedNameDeleting
vb
Public Event DefinedNameDeleting As DefinedNameDeletingEventHandler

Event Data

The DefinedNameDeleting event's data class is DefinedNameDeletingEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
CommentGets the additional information about the current Defined Name. Inherited from DefinedNameEventArgsBase.
NameGets the name of the current Defined Name. Inherited from DefinedNameEventArgsBase.
ReferenceGets the reference to a cell or cell range, formula or constant associated with the Defined Name. Inherited from DefinedNameEventArgsBase.
ScopeGets the scope (individual worksheet or entire workbook) where a Defined Name is recognized and can be used without qualification. Inherited from DefinedNameEventArgsBase.
ScopeIndexGets the index identifying the scope of the Defined Name. Inherited from DefinedNameEventArgsBase.

Remarks

The DefinedNameDeleting event allows you to cancel defined name deletion by setting the e.Cancel value to true.

Note

The DefinedNameDeleting event is fired only if deletion is performed in the Name Manager dialog.

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace