Skip to main content
All docs
V24.1

SpreadsheetControl.DefinedNameEdited Event

Occurs after the defined name parameters were changed.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.1.dll

NuGet Package: DevExpress.Win.Spreadsheet

Declaration

public event DefinedNameEditedEventHandler DefinedNameEdited

Event Data

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

Property Description
Comment Gets the new information about the defined name.
IsGlobal Gets whether the defined name has a workbook scope. Inherited from DefinedNameEventArgs.
Name Gets the name of the defined name object. Inherited from DefinedNameEventArgs.
OldComment Gets the previous information about the defined name.
OldName Gets the previous name of the defined name object.
OldRefersTo Gets a string that specifies a cell, cell range, formula, or constant to which the defined name previously referred.
RefersTo Gets a string that specifies a cell, cell range, formula, or constant to which the defined name now refers.
Scope Gets the defined name’s scope - an area within a spreadsheet application (an individual worksheet or the entire workbook) where a defined name is recognized and can be used without qualification. Inherited from DefinedNameEventArgs.

Remarks

Note

The DefinedNameEdited event is fired only if you use the Name Manager dialog to edit a defined name.

See Also