label

Specifies options for the form item label.

Type:

Object

Default Value: undefined

alignment

Specifies the label's horizontal alignment.

Type:

String

Default Value: 'left'
Accepted Values: 'left' | 'right' | 'center'
NOTE
This option applies only if the label's location is set to "top". The label's location is specified by the label.location option of a simple item or if it is not specified, by the labelLocation option of the Form widget.

When configuring the widget using ASP.NET MVC Wrappers, specify this option using the HorizontalAlignment enum. This enum accepts the following values: Left, Right and Center.

location

Specifies the location of a label against the editor.

Type:

String

Default Value: 'left'
Accepted Values: 'left' | 'right' | 'top'
NOTE
This option has higher priority than the labelLocation option of the form.

When configuring the widget using ASP.NET MVC Wrappers, specify this option using the FormLabelLocation enum. This enum accepts the following values: Left, Right and Top.

showColon

Specifies whether or not a colon is displayed at the end of the current label.

Type:

Boolean

Default Value: from showColonAfterLabel
NOTE
This option has higher priority than the showColonAfterLabel option of the form.

text

Specifies the label text.

Type:

String

Default Value: undefined

visible

Specifies whether or not the label is visible.

Type:

Boolean

Default Value: true