Skip to main content
Row

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.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public IDefinedNameValidator Validator { get; set; }

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.

See Also