ViewComponentFactory¶
Entry point returned by Html.SAIF(); currently exposes a single Toolbar() factory method that constructs a Toolbar bound to the current view context and wraps it in a ToolbarBuilder.
Purpose¶
- Entry point returned by
Html.SAIF(); currently exposes a singleToolbar()factory method that constructs aToolbarbound to the current view context and wraps it in aToolbarBuilder.
Context¶
- Namespace:
SAIF.Web.Mvc.UI - Assembly/package:
SAIF.Framework.Web.Mvc (source-shipping NuGet package) - Kind: class
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| ViewComponentFactory(HtmlHelper) | public ViewComponentFactory(HtmlHelper htmlHelper) |
Stores the supplied HtmlHelper in the settable HtmlHelper property for use by factory methods. |
| HtmlHelper | public HtmlHelper HtmlHelper { get; set; } |
The view's HtmlHelper; settable, though it is normally only assigned once by the constructor. Marked [EditorBrowsable(EditorBrowsableState.Never)] to hide it from IntelliSense on the fluent chain. |
| Toolbar() | public ToolbarBuilder Toolbar() |
Constructs a view-context-bound Toolbar and returns its fluent builder; see the "Build a toolbar through the fluent API" operation. |
Sources¶
src/Web.Mvc/UI/ViewComponentFactory.cs