DefinedNameConflictResolvingEventArgs.Validator Property
Gets or sets a validator used to check whether a new version of the conflict name is valid and unique.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
Type | Description |
---|---|
IDefinedNameValidator | An object implementing the IDefinedNameValidator interface. |
Remarks
Use the Validator property to get access to the object that allows you to validate a new version of the conflict defined name before pasting it into the destination worksheet/workbook. When an end-user enters a new name in the New Name editor of the Name Conflict dialog, the SpreadsheetControl calls the IDefinedNameValidator.Validate method of the default IDefinedNameValidator implementation. However, you can implement your own validator with a custom IDefinedNameValidator.Validate method and assign it to the Validator property.