Class Select1Fragment
Represents a xforms:select1 element which is a list of options where only 1 option can be selected (i.e.radio buttons or dropdownlists)
Inheritance
System.Object
Select1Fragment
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.XForms.Parsing
Assembly: EPiServer.XForms.dll
Version: 9.12.2Syntax
public class Select1Fragment : XFormsFragment
Examples
xforms:select1 xforms:item xforms:label xforms:value
Constructors
Select1Fragment(ElementFragment)
Declaration
public Select1Fragment(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 |
Options
A list of options to select from
Declaration
public IList<SelectOption> Options { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<SelectOption> |
Orientation
The orientation of the optons.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation |
Methods
ParseFragment(Stack<HtmlFragment>, HtmlFragment)
Parse the label and options items
Declaration
public override void ParseFragment(Stack<HtmlFragment> stack, HtmlFragment currentFragment)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Stack<HtmlFragment> | stack | |
HtmlFragment | currentFragment |