Skip to main content
A newer version of this page is available. .
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.v18.2.Core.dll

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