Table of Contents

Constructor TextFieldSettings

Namespace
Velvet
Assembly
Velvet.Docs.dll

TextFieldSettings(bool?, string?, int?, bool?, bool?)

TextField.isPasswordField, textEdition.placeholder, maxLength, isReadOnly and isDelayed. A null member is undeclared: ApplyTextField(VisualElement, TextFieldSettings) leaves a member no render has declared untouched, and restores what the element was constructed with once a render that did declare one drops it. An empty Placeholder is a declared empty placeholder.

public TextFieldSettings(bool? IsPassword = null, string? Placeholder = null, int? MaxLength = null, bool? IsReadOnly = null, bool? IsDelayed = null)

Parameters

IsPassword bool?
Placeholder string
MaxLength int?
IsReadOnly bool?
IsDelayed bool?