Table of Contents

Method SetValidator

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetValidator(Type?, bool)

Sets DataType to the specified type and and CharValidator to the appropriate validator provider.

public virtual void SetValidator(Type? type, bool charValidator)

Parameters

type Type

New DataType property value.

charValidator bool

Whether to create and assign appropriate char validator or assign CharValidator to Null.