DxCheckBox<T>.LabelPosition Property

Specifies the horizontal position of the checkbox’s child content relative to the check mark.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(LabelPosition.Right)]
public LabelPosition LabelPosition { get; set; }

Property Value

Type Default Description
LabelPosition

Right

The position of the checkbox’s child content.

Available values:

Name Description
Right

The checkbox’s child content is displayed to the right of the check mark.

Left

The checkbox’s child content is displayed to the left of the check mark.

Remarks

The following sample demonstrates how to use the LabelPosition property:

<DxCheckBox Checked="true" LabelPosition="LabelPosition.Right">Text aligned to the right</DxCheckBox> 
<DxCheckBox Checked="true" LabelPosition="LabelPosition.Left">Text aligned to the left</DxCheckBox>

CheckBox LabelPosition

To wrap or crop long CheckBox labels, use the LabelWrapMode property.

See Also