Enum LabelPosition
Specifies the possible label positions for components supporting label alignment.
Namespace: Syncfusion.Blazor.Buttons
Assembly: Syncfusion.Blazor.dll
Syntax
public enum LabelPosition
Remarks
The LabelPosition enumeration allows you to choose whether the label appears before or after the associated component, such as a button or an input. This enables customization of the UI layout and accessibility support.
Examples
The following example demonstrates how to set the label position for a button:
<SfButton Label="Save" LabelPosition="LabelPosition.After" />
Fields
| Name | Description |
|---|---|
| After | Positions the label after the component (for example: text will be rendered to the right of a button). |
| Before | Positions the label before the component (for example: text will be rendered to the left of a button). |