November Happy Hour will be moved to Thursday December 5th.

Class InputFragment

Represents a xforms:input element where the user can enter a value

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

xforms:input xforms:label

Constructors

InputFragment(ElementFragment)

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

Properties

Label

The heading for this fragment

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

Size

The size of the input field

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

Methods

ParseFragment(Stack<HtmlFragment>, HtmlFragment)

Parse the label value

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

XformsFragments as stack

HtmlFragment currentFragment

The current processed fragment

Overrides

Extension Methods