Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetControl.DefinedNameEditing Event

Occurs before a Defined Name is being edited.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.2.dll

NuGet Package: DevExpress.Win.Spreadsheet

#Declaration

public event DefinedNameEditingEventHandler DefinedNameEditing

#Event Data

The DefinedNameEditing event's data class is DefinedNameEditingEventArgs. 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 CancelEventArgs.
Comment Gets the additional information about the current Defined Name. Inherited from DefinedNameEventArgsBase.
Name Gets the name of the current Defined Name. Inherited from DefinedNameEventArgsBase.
OriginalName Gets the name of the Defined Name before it is edited.
Reference Gets the reference to a cell or cell range, formula or constant associated with the Defined Name. Inherited from DefinedNameEventArgsBase.
Scope Gets the scope (individual worksheet or entire workbook) where a Defined Name is recognized and can be used without qualification. Inherited from DefinedNameEventArgsBase.
ScopeIndex Gets the index identifying the scope of the Defined Name. Inherited from DefinedNameEventArgsBase.

#Remarks

The DefinedNameEditing event allows you to cancel editing by setting the e.Cancel value to true.

Note

The DefinedNameEditing event is fired only if editing is started in the Name Manager dialog.

See Also