Back to Devexpress

ISpreadsheetComponent.DefinedNameConflictResolving Event

officefileapi-devexpress-dot-spreadsheet-dot-ispreadsheetcomponent-a377c2ba.md

latest2.9 KB
Original Source

ISpreadsheetComponent.DefinedNameConflictResolving Event

Occurs when a formula or sheet being moved or copied contains the defined name, which already exists on the destination worksheet or workbook.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
event DefinedNameConflictResolvingEventHandler DefinedNameConflictResolving
vb
Event DefinedNameConflictResolving As DefinedNameConflictResolvingEventHandler

Event Data

The DefinedNameConflictResolving event's data class is DefinedNameConflictResolvingEventArgs. 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.
NameStatusGets the status of the conflict name.
NewNameGets or sets the name for a new version of the defined name being moved or copied.
OldNameGets the defined name for which the event is fired.
UsedNamesProvides access to the set of table and defined names existing in the destination workbook.
UseExistingNameGets or sets a value indicating whether to use the defined name specified on the destination worksheet or workbook in the conflict situation.
ValidatorGets or sets a validator used to check whether a new version of the conflict name is valid and unique.

See Also

ISpreadsheetComponent Interface

ISpreadsheetComponent Members

DevExpress.Spreadsheet Namespace