label

Specifies options for the form item label.

Type:

Object

Default Value: undefined

alignment

Specifies the label horizontal alignment.

Type:

String

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

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.

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