HtmlForgeX

API Reference

Class

TablerCheckboxGroup

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Implements

Container for grouping multiple checkbox elements.

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public TablerCheckboxGroup(String name) #

Initializes the checkbox group with the specified name.

Parameters

name System.String requiredposition: 0

Methods

public TablerCheckboxGroup Hint(String text) #
Returns: TablerCheckboxGroup

Adds non-error help text below the control(s).

Parameters

text System.String requiredposition: 0
public TablerCheckboxGroup Inline(Boolean inline = true) #
Returns: TablerCheckboxGroup

Sets whether checkboxes should be displayed inline.

Parameters

inline System.Boolean = true optionalposition: 0
Whether checkboxes are inline.

Returns

The current TablerCheckboxGroup instance.

public TablerCheckboxGroup Label(String text) #
Returns: TablerCheckboxGroup

Sets the label for the checkbox group.

Parameters

text System.String requiredposition: 0
The label text.

Returns

The current TablerCheckboxGroup instance.

public TablerCheckboxGroup Option(String value, String label, Boolean checked = false, Boolean disabled = false) #
Returns: TablerCheckboxGroup

Adds a checkbox option with specific configuration.

Parameters

value System.String requiredposition: 0
The checkbox value.
label System.String requiredposition: 1
The display label.
checked System.Boolean = false optionalposition: 2
Whether the option is checked.
disabled System.Boolean = false optionalposition: 3
Whether the option is disabled.

Returns

The current TablerCheckboxGroup instance.

public TablerCheckboxGroup Options(params String[] options) #
Returns: TablerCheckboxGroup

Adds checkbox options from string values.

Parameters

options System.String[] requiredposition: 0
Array of option values.

Returns

The current TablerCheckboxGroup instance.

public override String ToString() #
Returns: String

Generates the HTML markup for the checkbox group.

public TablerCheckboxGroup Validation(ValidationState state, String message) #
Returns: TablerCheckboxGroup

Sets validation state and message for the checkbox group.

Parameters

state HtmlForgeX.ValidationState requiredposition: 0
message System.String requiredposition: 1