London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 10.10.4
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