Name | Type | Default | Description |
Action | FormControlAction | FormControlAction. | Gets or Sets the FormControl Action. This property is used when the 'controlType' is 'button' or 'submit' |
Align | FormControlAlign | FormControlAlign.Left | Sets or Gets the alignment of the FormControl |
AppendHTML | object | | HTML Content displayed after the Form Control |
ControlOptions | object | | JSON object with initialization properties of the UI component. Example: { dataSource: ['item 1', 'item 2', 'item 3'] } will set the dataSource property of the Form control. |
ControlType | FormControlControlType | FormControlControlType.Input | The type of the control. |
Columns | int | 1 | Sets the Form Group columns. |
ColumnSpan | int | 1 | Sets the Form control column span. |
DataField | string | "" | Sets the Form control data field. The control's inner input's name is set to the dataField value and in the FormGroup it is accessible through the dataField value. |
Disabled | bool | false | Sets the Form control disabled mode. |
Dirty | bool | false | Gets whether the Form control is 'dirty' i.e its value is changed by the user. |
Info | string | "" | Gets or Sets the Form control's info icon's tooltip. |
Invalid | bool | false | Gets whether the Form control is invalid. |
Label | string | "" | Gets or Sets the Form control's label. |
LabelPosition | FormControlLabelPosition | FormControlLabelPosition.Left | Gets or Sets the Form control's label position. |
LabelOffset | int | 10 | Gets or Sets the offset between the label and the control. |
LabelAlign | FormControlAlign | FormControlAlign.Left | FormGroup only(when controlType is set to 'group'). Gets or Sets whether the navigation buttons are displayed. The property has effect when the viewMode property is set. |
NextButtonLabel | string | "Next" | FormGroup only(when controlType is set to 'group'). Gets or Sets the next button label. |
BackButtonLabel | string | "Back" | FormGroup only(when controlType is set to 'group'). Gets or Sets the back button label. |
Placeholder | string | "" | Gets or Sets the FormControl placeholder. |
PrependHTML | object | | HTML Content displayed before the Form Control |
Readonly | bool | false | Gets or Sets the Form control readonly mode. |
Required | bool | false | Gets or Sets whether this field is required. |
Untouched | bool | false | Gets whether the Form control is not touched by the user. This flag is changed usually on blur, after the user interacted with the Form control |
ShowColonAfterLabel | bool | false | Gets or Sets whether colon is displayed after the label. |
ShowButtons | bool | false | FormGroup only(when controlType is set to 'group'). Gets or Sets whether the navigation buttons are displayed. The property has effect when the viewMode property is set. |
Value | object | N/A | Sets or Gets the Form control or Form group value. |
Valid | bool | false | Gets whether the Form control is valid. |
ValidationRules | IEnumerable<object> | N/A | Sets or gets the column's validation rules. The expected value is an Array of Objects. Each object should have a 'type' property that can be set to 'required', 'min', 'max', 'minLength', 'maxLength', 'email', 'null', 'requiredTrue', 'minData', 'maxDate', 'pattern'. The 'value' property should be set, too. For validation rule types 'required', 'requiredTrue' and 'null' you can skip the 'value' property. Optional property is 'message', which determines the error message. |
ViewMode | FormControlViewMode | FormControlViewMode. | FormGroup only(when controlType is set to 'group'). Gets or Sets the form'group view mode. |
FormControlControlType.Button |
FormControlControlType.Boolean |
FormControlControlType.ComboBox |
FormControlControlType.CheckInput |
FormControlControlType.Datetime |
FormControlControlType.DropDownList |
FormControlControlType.Group |
FormControlControlType.Input |
FormControlControlType.Label |
FormControlControlType.MultiInput |
FormControlControlType.MultiComboInput |
FormControlControlType.Mask |
FormControlControlType.Number |
FormControlControlType.Password |
FormControlControlType.RadioButton |
FormControlControlType.Submit |
FormControlControlType.Textarea |
FormControlControlType.Template |