Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(LabelPosition.Right)]
[Parameter]
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

See Also