Table of Contents

Method SetValueAndValidator

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

SetValueAndValidator(object?, bool)

Sets text as value (using SetTextAsObject(object?)) and assigns appropriate char and value validators.

public virtual void SetValueAndValidator(object? value, bool charValidator)

Parameters

value object

Object which will be converted to string and assigned to Text property.

charValidator bool

Whether to set char validator.