Class FormButtonsAlignment
Specifies the available alignment options for the set of buttons rendered in a form.
Inheritance
Namespace: Syncfusion.Blazor.DataForm
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class FormButtonsAlignment : Enum
Remarks
This enumeration is used to determine the alignment of primary action buttons at the bottom of a Syncfusion DataForm component.
Examples
<SfDataForm FormButtonsAlignment="FormButtonsAlignment.Center" ... >
</SfDataForm>
Fields
Center
The form action buttons are centered horizontally within the form footer.
Declaration
public const FormButtonsAlignment Center
Field Value
Type | Description |
---|---|
FormButtonsAlignment | FormButtonsAlignment enumeration value for centering the form action buttons. |
Remarks
Suitable for symmetrical layouts or when balancing actions within a modal form.
Left
The form buttons are aligned to the left side of the form footer area.
Declaration
public const FormButtonsAlignment Left
Field Value
Type | Description |
---|---|
FormButtonsAlignment | FormButtonsAlignment enumeration value for aligning form buttons to the left. |
Remarks
Use this to visually group action buttons at the form's starting edge.
Right
The form buttons are aligned to the right side of the form footer area.
Declaration
public const FormButtonsAlignment Right
Field Value
Type | Description |
---|---|
FormButtonsAlignment | FormButtonsAlignment enumeration value for aligning form buttons to the right. |
Remarks
This is the default alignment representing primary action grouping at form end.
Stretch
The form buttons are stretched to fill the full width of the form footer area.
Declaration
public const FormButtonsAlignment Stretch
Field Value
Type | Description |
---|---|
FormButtonsAlignment | FormButtonsAlignment enumeration value for full-width stretching of form buttons. |
Remarks
When Stretch
is used, action buttons expand to equally occupy available space, useful for mobile-friendly or card-based layouts.