SaaS CMS has officially launched! Learn more now.

Class TextareaFragment

A multi line text area where the user can enter text

Inheritance
System.Object
TextareaFragment
Namespace: EPiServer.XForms.Parsing
Assembly: EPiServer.XForms.dll
Version: 7.19.2
Syntax
public class TextareaFragment : XFormsFragment
Examples

xforms:textarea xforms:label

Constructors

TextareaFragment(ElementFragment)

Declaration
public TextareaFragment(ElementFragment fragment)
Parameters
Type Name Description
ElementFragment fragment

Properties

Columns

The horizontal size of the input field

Declaration
public int Columns { get; set; }
Property Value
Type Description
System.Int32

Label

The heading for the control

Declaration
public string Label { get; set; }
Property Value
Type Description
System.String

Rows

The vertical size of the input field

Declaration
public int Rows { get; set; }
Property Value
Type Description
System.Int32

Methods

ParseFragment(Stack<HtmlFragment>, HtmlFragment)

Parse the label value from text fragment

Declaration
public override void ParseFragment(Stack<HtmlFragment> stack, HtmlFragment currentFragment)
Parameters
Type Name Description
System.Collections.Generic.Stack<HtmlFragment> stack
HtmlFragment currentFragment
Overrides

Extension Methods