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.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
[DefaultValue(LabelPosition.Right)]
[Parameter]
public LabelPosition LabelPosition { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Label |
Right | A Label |
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 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.