---
title: HtmlHelperExtensions
summary: API reference for HtmlHelperExtensions.
status: draft
owner: SAIF Documentation
last_reviewed: 2026-09-17
library: SAIF.Framework.Web.Mvc
reference_type: package
---

# HtmlHelperExtensions

Single extension method, `SAIF()`, that is the Razor-view entry point into this library's fluent UI component framework (used as `Html.SAIF().Toolbar()`).

## Purpose
- Single extension method, `SAIF()`, that is the Razor-view entry point into this library's fluent UI component framework (used as `Html.SAIF().Toolbar()`).

## Context
- Namespace: `SAIF.Web.Mvc.UI`
- Assembly/package: `SAIF.Framework.Web.Mvc (source-shipping NuGet package)`
- Kind: static class

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| SAIF(HtmlHelper) | `public static ViewComponentFactory SAIF(this HtmlHelper helper)` | Wraps the helper in a `ViewComponentFactory` to start a fluent component-configuration chain. |
| ButtonGroup(HtmlHelper, SelectList) | `public static HtmlString ButtonGroup(this HtmlHelper htmlHelper, SelectList listItems)` | Builds an `HtmlString` from a `StringBuilder`; the current implementation ignores both parameters and appends only the literal text `"dude"`, so it does not render a button group from the supplied `listItems`.* |

## Behavioral notes
- `ButtonGroup` appears to be unfinished/placeholder code: its body contains only commented-out logic and returns the literal string `"dude"` regardless of the `listItems` argument.*

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `src/Web.Mvc/UI/Extensions/HtmlHelperExtensions.cs`
