Class CheckBoxPosition
Determines the position where checkboxes are displayed in a ListBox control.
Inheritance
System.Object
CheckBoxPosition
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class CheckBoxPosition : Enum
Remarks
Used by SfListBox
and similar controls to set the alignment of checkboxes relative to their associated labels.
Examples
CheckBoxPosition position = CheckBoxPosition.Left;
Fields
Left
Checkboxes appear to the left side of associated text labels.
Declaration
public const CheckBoxPosition Left
Field Value
Type | Description |
---|---|
CheckBoxPosition | Checkbox rendered to the left of the item label. |
Remarks
This is the default alignment for ListBox checkboxes.
Examples
CheckBoxPosition pos = CheckBoxPosition.Left;
Right
Checkboxes appear to the right side of associated text labels.
Declaration
public const CheckBoxPosition Right
Field Value
Type | Description |
---|---|
CheckBoxPosition | Checkbox rendered to the right of the item label. |
Remarks
Select this option to display checkboxes consistently on the right.
Examples
CheckBoxPosition pos = CheckBoxPosition.Right;