Class TextArea
Extension of the FormField<T> class representing a button so that a TextAreaRenderer is used instead of the default renderer for fields.
public class TextArea : FormField<TextArea>, IFormField, IBlockElement, IAbstractElement, IElement, IPropertyContainer, IAccessibleElement, IPlaceholderable
- Inheritance
-
TextArea
- Implements
- Inherited Members
Constructors
TextArea(string)
Creates a new TextArea instance.
public TextArea(string id)
Parameters
id
stringthe id
Methods
GetAccessibilityProperties()
public override AccessibilityProperties GetAccessibilityProperties()
Returns
GetDefaultProperty<T1>(int)
public override T1 GetDefaultProperty<T1>(int property)
Parameters
property
int
Returns
- T1
Type Parameters
T1
GetPlaceholder()
public virtual Paragraph GetPlaceholder()
Returns
MakeNewRenderer()
protected override IRenderer MakeNewRenderer()
Returns
SetPlaceholder(Paragraph)
public virtual void SetPlaceholder(Paragraph placeholder)
Parameters
placeholder
Paragraph
UseAsPassword(bool)
Determines, whether the input field will be password.
public virtual TextArea UseAsPassword(bool isPassword)
Parameters
Returns
- TextArea
this input field
Remarks
Determines, whether the input field will be password.
Usually means that instead of glyphs '*' will be shown in case of flatten field. If the field is not flatten, value will be ignored.