HtmlForgeX

API Reference

Class

TablerServiceConfigChoiceGroup

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Reusable selectable choice group for service configuration modes, profiles, and option families.

Inheritance

  • Element
  • TablerServiceConfigChoiceGroup

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

public TablerServiceConfigChoiceGroup() #

Methods

AddOption 3 overloads
public TablerServiceConfigChoiceGroup AddOption(String label, Boolean active = false) #
Returns: TablerServiceConfigChoiceGroup

Adds a simple selectable option.

Parameters

label System.String requiredposition: 0
active System.Boolean = false optionalposition: 1
public TablerServiceConfigChoiceGroup AddOption(String key, String label, String description = null, Nullable<TablerIconType> icon = null, Boolean active = false, TablerColor color = Blue) #
Returns: TablerServiceConfigChoiceGroup

Adds a selectable option with a stable key, description, icon, and accent color.

Parameters

key System.String requiredposition: 0
label System.String requiredposition: 1
description System.String = null optionalposition: 2
icon System.Nullable{HtmlForgeX.TablerIconType} = null optionalposition: 3
active System.Boolean = false optionalposition: 4
color HtmlForgeX.TablerColor = Blue optionalposition: 5
public TablerServiceConfigChoiceGroup AddOption(String key, String label, String description, Nullable<TablerIconType> icon, Boolean active, TablerColor color, Action<TablerServiceConfigChoiceOptionSettings> configure) #
Returns: TablerServiceConfigChoiceGroup

Adds a selectable option with item-level state settings.

Parameters

key System.String requiredposition: 0
label System.String requiredposition: 1
description System.String requiredposition: 2
icon System.Nullable{HtmlForgeX.TablerIconType} requiredposition: 3
active System.Boolean requiredposition: 4
color HtmlForgeX.TablerColor requiredposition: 5
configure System.Action{HtmlForgeX.TablerServiceConfigChoiceOptionSettings} requiredposition: 6
RegisterLibraries() #
public TablerServiceConfigChoiceGroup Settings(Action<TablerServiceConfigChoiceGroupSettings> configure) #
Returns: TablerServiceConfigChoiceGroup

Groups advanced display options under a smaller fluent surface.

Parameters

configure System.Action{HtmlForgeX.TablerServiceConfigChoiceGroupSettings} requiredposition: 0
public TablerServiceConfigChoiceGroup Title(String title, String subtitle = null) #
Returns: TablerServiceConfigChoiceGroup

Sets an optional heading for the choice group.

Parameters

title System.String requiredposition: 0
subtitle System.String = null optionalposition: 1
public override String ToString() #
Returns: String