Class DnnHtmlHelper<TModel>
Inherited Members
Namespace: DotNetNuke.Web.Mvc.Helpers
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public class DnnHtmlHelper<TModel> : DnnHtmlHelper
Type Parameters
| Name | Description |
|---|---|
| TModel |
Constructors
| Improve this Doc View SourceDnnHtmlHelper(ViewContext, IViewDataContainer, RouteCollection)
Initializes a new instance of the DnnHtmlHelper<TModel> class.
Declaration
public DnnHtmlHelper(ViewContext viewContext, IViewDataContainer viewDataContainer, RouteCollection routeCollection)
Parameters
| Type | Name | Description |
|---|---|---|
| ViewContext | viewContext | The view context. |
| IViewDataContainer | viewDataContainer | The ViewData container. |
| RouteCollection | routeCollection | The route collection. |
DnnHtmlHelper(ViewContext, IViewDataContainer)
Initializes a new instance of the DnnHtmlHelper<TModel> class.
Declaration
public DnnHtmlHelper(ViewContext viewContext, IViewDataContainer viewDataContainer)
Parameters
| Type | Name | Description |
|---|---|---|
| ViewContext | viewContext | The view context. |
| IViewDataContainer | viewDataContainer | The ViewData container. |
Properties
| Improve this Doc View SourceViewBag
Declaration
public object ViewBag { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
ViewData
Declaration
public ViewDataDictionary<TModel> ViewData { get; }
Property Value
| Type | Description |
|---|---|
| ViewDataDictionary<TModel> |