HtmlForgeX

API Reference

Class

TablerFormSettings

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Settings sub‑builder for TablerForm to group less common toggles.

Inheritance

  • Object
  • TablerFormSettings

Methods

public TablerFormSettings Action(String action) #
Returns: TablerFormSettings

Set the action URL for the form.

Parameters

action System.String requiredposition: 0
public TablerFormSettings Actions(FormActionsPlacement placement) #
Returns: TablerFormSettings

Set actions bar placement (Top/Bottom/Both).

Parameters

placement HtmlForgeX.FormActionsPlacement requiredposition: 0
public TablerFormSettings Enctype(String enctype) #
Returns: TablerFormSettings

Set the enctype attribute for the form (e.g., "multipart/form-data").

Parameters

enctype System.String requiredposition: 0
public TablerForm End() #
Returns: TablerForm

Return to the root form to continue chaining.

public TablerFormSettings Grid(Int32 columns = 2) #
Returns: TablerFormSettings

Use grid layout with the specified number of columns.

Parameters

columns System.Int32 = 2 optionalposition: 0
public TablerFormSettings Horizontal() #
Returns: TablerFormSettings

Use horizontal layout with inline labels.

public TablerFormSettings InlineLabelWidth(Int32 cols) #
Returns: TablerFormSettings

Set inline label width (Bootstrap columns).

Parameters

cols System.Int32 requiredposition: 0
public TablerFormSettings Labels(LabelMode mode) #
Returns: TablerFormSettings

Set label placement strategy.

Parameters

mode HtmlForgeX.LabelMode requiredposition: 0
public TablerFormSettings Method(String method) #
Returns: TablerFormSettings

Set the HTTP method attribute for the form.

Parameters

method System.String requiredposition: 0
public TablerFormSettings Multipart(Boolean enable = true) #
Returns: TablerFormSettings

Enable multipart/form-data encoding required for file uploads.

Parameters

enable System.Boolean = true optionalposition: 0
public TablerFormSettings Stack() #
Returns: TablerFormSettings

Use stacked layout (default).

public TablerFormSettings WrapControls(Boolean wrap = true) #
Returns: TablerFormSettings

Wrap loose controls in a vertical stack for consistent spacing.

Parameters

wrap System.Boolean = true optionalposition: 0