React Form - SimpleItem.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: 'center' | 'left' | 'right'

Use the HorizontalAlignment enum to specify this option when the widget is used as an ASP.NET MVC 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 option has higher priority than the labelLocation option of the form.

Use the FormLabelLocation enum to specify this option when the widget is used as an ASP.NET MVC 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 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