blazor-devexpress-dot-blazor-dot-dxcheckbox-1-f764b2a4.md
Specifies the horizontal position of the checkbox’s child content relative to the check mark.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(LabelPosition.Right)]
[Parameter]
public LabelPosition LabelPosition { get; set; }
| Type | Default | Description |
|---|---|---|
| LabelPosition | Right |
A LabelPosition enumeration value.
|
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.
|
The following sample uses 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>
To wrap or crop long CheckBox labels, use the LabelWrapMode property.
See Also