windowsforms-devexpress-dot-xtraspreadsheet-dot-spreadsheetcontrol-8036b329.md
Occurs after the defined name parameters were changed.
Namespace : DevExpress.XtraSpreadsheet
Assembly : DevExpress.XtraSpreadsheet.v25.2.dll
NuGet Package : DevExpress.Win.Spreadsheet
public event DefinedNameEditedEventHandler DefinedNameEdited
Public Event DefinedNameEdited As DefinedNameEditedEventHandler
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. |
Note
The DefinedNameEdited event is fired only if you use the Name Manager dialog to edit a defined name.
See Also