HtmlForgeX

API Reference

Class

SmartWizardSettings

Namespace HtmlForgeX
Assembly HtmlForgeX

Settings sub‑builder for SmartWizard to keep the root API small.

Inheritance

  • Object
  • SmartWizardSettings

Methods

Accent 3 overloads
public SmartWizardSettings Accent(TablerColor color) #
Returns: SmartWizardSettings

Sets an accent palette (maps to CSS variables) for the wizard.

Parameters

accent HtmlForgeX.SmartWizardAccent requiredposition: 0
Accent(HtmlForgeX.RGBColor color) #

Sets a custom accent color using an RGBColor; maps to vendor CSS variables.

Parameters

color HtmlForgeX.RGBColor required
Accent(HtmlForgeX.TablerColor color) #

Sets a custom accent color using a TablerColor token.

Parameters

color HtmlForgeX.TablerColor required
ActiveColor 2 overloads
public SmartWizardSettings ActiveColor(TablerColor color) #
Returns: SmartWizardSettings

Sets active step accent color (maps to --sw-anchor-active-primary-color and --sw-progress-color).

Parameters

color HtmlForgeX.RGBColor requiredposition: 0
ActiveColor(HtmlForgeX.TablerColor color) #

Sets active step accent color using TablerColor token.

Parameters

color HtmlForgeX.TablerColor required
public SmartWizardSettings AutoAdjustHeight(Boolean enabled = true) #
Returns: SmartWizardSettings

Controls content height behavior for step panels.

Parameters

enabled System.Boolean = true optionalposition: 0
true = vendor auto-height (fixed height + animated transitions). false = HFX natural height (auto) + JavaScript relayout on tab/collapse/resize events.
public SmartWizardSettings BackButton(Boolean enabled = true) #
Returns: SmartWizardSettings

Enables back button support.

Parameters

enabled System.Boolean = true optionalposition: 0
True to show back button.
public SmartWizardSettings ButtonText(String nextText = "Next", String previousText = "Previous") #
Returns: SmartWizardSettings

Customizes the text for navigation buttons.

Parameters

nextText System.String = "Next" optionalposition: 0
Text for the next button.
previousText System.String = "Previous" optionalposition: 1
Text for the previous button.
public SmartWizardSettings ContainerClass(String css) #
Returns: SmartWizardSettings

Adds a custom CSS class to the outer container.

Parameters

css System.String requiredposition: 0
Class name.
public SmartWizardSettings ContentClass(String css) #
Returns: SmartWizardSettings

Adds a custom CSS class to the content area.

Parameters

css System.String requiredposition: 0
Class name.
public SmartWizardSettings ContentPadding(TablerSpacing vertical) #
Returns: SmartWizardSettings

Sets vertical padding for the content area using Tabler spacing scale.

Parameters

vertical HtmlForgeX.TablerSpacing requiredposition: 0
public SmartWizard End() #
Returns: SmartWizard

Returns control to the root wizard builder.

public SmartWizardSettings Html5Validation(Boolean enabled = true) #
Returns: SmartWizardSettings

Enables simple HTML5 form validation: blocks forward navigation when the current step contains an invalid form.

Parameters

enabled System.Boolean = true optionalposition: 0
InactiveColor 2 overloads
public SmartWizardSettings InactiveColor(TablerColor color) #
Returns: SmartWizardSettings

Sets inactive/not-yet-done step background color (maps to --sw-anchor-default-primary-color).

Parameters

color HtmlForgeX.RGBColor requiredposition: 0
InactiveColor(HtmlForgeX.TablerColor color) #

Sets inactive/not-yet-done step background color using TablerColor token.

Parameters

color HtmlForgeX.TablerColor required
public SmartWizardSettings Justified(Boolean justified = true) #
Returns: SmartWizardSettings

Stretches navigation to equal widths.

Parameters

justified System.Boolean = true optionalposition: 0
True to justify navigation.
public SmartWizardSettings KeyboardNavigation(Boolean enabled = true) #
Returns: SmartWizardSettings

Enables keyboard shortcuts for navigation.

Parameters

enabled System.Boolean = true optionalposition: 0
True to enable keyboard navigation.
public SmartWizardSettings NavClass(String css) #
Returns: SmartWizardSettings

Adds a custom CSS class to the navigation element.

Parameters

css System.String requiredposition: 0
Class name.
public SmartWizardSettings Navigation(Boolean enabled = true, Boolean alwaysEnabled = false) #
Returns: SmartWizardSettings

Enables or disables navigation buttons.

Parameters

enabled System.Boolean = true optionalposition: 0
True to enable buttons.
alwaysEnabled System.Boolean = false optionalposition: 1
True to keep buttons enabled.
public SmartWizardSettings ProgressBar(Boolean enabled = true) #
Returns: SmartWizardSettings

Enables the thin progress bar under the nav.

Parameters

enabled System.Boolean = true optionalposition: 0
public SmartWizardSettings ReportMode(Boolean enable = true) #
Returns: SmartWizardSettings

Applies defaults optimized for large, generated reports: avoids URL hash churn (and the associated history updates) when many wizards exist on a single page and keeps layout stable in nested content.

Parameters

enable System.Boolean = true optionalposition: 0
public SmartWizardSettings SelectedStep(Int32 index) #
Returns: SmartWizardSettings

Sets the initially selected step by index.

Parameters

index System.Int32 requiredposition: 0
Zero-based index.
public SmartWizardSettings Surface(SmartWizardSurfaceStyle style) #
Returns: SmartWizardSettings

Applies a reusable HtmlForgeX surface wrapper around the SmartWizard frame.

Parameters

style HtmlForgeX.SmartWizardSurfaceStyle requiredposition: 0
Surface style to use.
public SmartWizardSettings Theme(SmartWizardTheme theme) #
Returns: SmartWizardSettings

Applies a built-in theme.

Parameters

theme HtmlForgeX.SmartWizardTheme requiredposition: 0
Theme to use.
public SmartWizardSettings Toolbar(SmartWizardToolbarPosition position) #
Returns: SmartWizardSettings

Places the toolbar at the specified position.

Parameters

position HtmlForgeX.SmartWizardToolbarPosition requiredposition: 0
Toolbar position.
public SmartWizardSettings ToolbarButtons(Boolean next = true, Boolean previous = true) #
Returns: SmartWizardSettings

Enables built-in next and previous buttons.

Parameters

next System.Boolean = true optionalposition: 0
Show next button.
previous System.Boolean = true optionalposition: 1
Show previous button.
ToolbarContent 2 overloads
public SmartWizardSettings ToolbarContent(Element element) #
Returns: SmartWizardSettings

Inserts custom HTML into the toolbar.

Parameters

html System.String requiredposition: 0
HTML content.
ToolbarContent(HtmlForgeX.Element element) #

Inserts typed content into the toolbar (no raw HTML string required).

Parameters

element HtmlForgeX.Element required
public SmartWizardSettings Transition(SmartTabAnimation animation, Int32 speed = 400, String easing = null) #
Returns: SmartWizardSettings

Configures panel transition animation.

Parameters

animation HtmlForgeX.SmartTabAnimation requiredposition: 0
Animation type.
speed System.Int32 = 400 optionalposition: 1
Animation speed in milliseconds.
easing System.String = null optionalposition: 2
Optional easing function.
public SmartWizardSettings UrlHash(Boolean enabled = true) #
Returns: SmartWizardSettings

Syncs selected step with the URL hash.

Parameters

enabled System.Boolean = true optionalposition: 0
True to update hash.
public SmartWizardSettings Vertical(Boolean enable = true) #
Returns: SmartWizardSettings

Displays steps vertically.

Parameters

enable System.Boolean = true optionalposition: 0
True for vertical layout.