label

Specifies properties for the form item label.

Type:

Object

Default Value: undefined

alignment

Specifies the label's horizontal alignment.

Type:

String

Default Value: 'left'
Accepted Values: 'center' | 'left' | 'right'

Use the HorizontalAlignment enum to specify this property when the UI component is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: Left, Right, and Center.

See Also

location

Specifies the location of a label against the editor.

Type:

String

Default Value: 'left'
Accepted Values: 'left' | 'right' | 'top'

NOTE
This property has higher priority than the labelLocation property of the form.

Use the FormLabelLocation enum to specify this property when the UI component is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: Left, Right, and Top.

See Also

showColon

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

Type:

Boolean

Default Value: from showColonAfterLabel

NOTE
This property has higher priority than the showColonAfterLabel property 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