Back to Devexpress

SpreadsheetControl.DefinedNameEditing Event

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

latest3.8 KB
Original Source

SpreadsheetControl.DefinedNameEditing Event

Occurs before a Defined Name is being edited.

Namespace : DevExpress.Xpf.Spreadsheet

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

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public event DefinedNameEditingEventHandler DefinedNameEditing
vb
Public Event DefinedNameEditing As DefinedNameEditingEventHandler

Event Data

The DefinedNameEditing event's data class is DefinedNameEditingEventArgs. 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.
OriginalNameGets the name of the Defined Name before it is edited.
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 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

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace