Back to Devexpress

IComboBox<TData, TValue>.ValidateBy Property

blazor-devexpress-dot-blazor-dot-icombobox-2-9bab0093.md

latest1.5 KB
Original Source

IComboBox<TData, TValue>.ValidateBy Property

Specifies which ComboBox property takes part in input validation.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(ComboBoxValidateBy.Auto)]
ComboBoxValidateBy ValidateBy { get; set; }

Property Value

TypeDefaultDescription
ComboBoxValidateByAuto

A ComboBoxValidateBy enumeration value.

|

Available values:

NameDescription
Auto

If the Text property is specified, the editor’s text is validated. If the Value property is specified, the editor’s value is validated. If both Text and Value properties are specified, the editor’s value is validated.

| | Text |

The editor’s text is validated.

| | Value |

The editor’s value is validated.

|

Remarks

Refer to the ValidateBy property description for additional information and an example.

See Also

IComboBox<TData, TValue> Interface

IComboBox<TData, TValue> Members

DevExpress.Blazor Namespace