Skip to main content

InputOptions

High-level Input options for rendering HTML Input controls

Assembly: ServiceStack.Common.dll
View Source
Declaration
public class InputOptions

Properties

Inline

Display the Control inline

View Source
Declaration
public bool Inline { get; set; }

Label

Label for the control

View Source
Declaration
public string Label { get; set; }

LabelClass

Class for Label

View Source
Declaration
public string LabelClass { get; set; }

ErrorClass

Override the class on the error message (default: invalid-feedback)

View Source
Declaration
public string ErrorClass { get; set; }

Help

Small Help Text displayed with the control

View Source
Declaration
public string Help { get; set; }

Size

Bootstrap Size of the Control: sm, lg

View Source
Declaration
public string Size { get; set; }

Values

Multiple Value Data Source for Checkboxes, Radio boxes and Select Controls

View Source
Declaration
public object Values { get; set; }

InputValues

Typed setter of Multi Input Values

View Source
Declaration
public IEnumerable<KeyValuePair<string, string>> InputValues { set; }

PreserveValue

Whether to preserve value state after post back

View Source
Declaration
public bool PreserveValue { get; set; }

ShowErrors

Whether to show Error Message associated with this control

View Source
Declaration
public bool ShowErrors { get; set; }