summaryM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.CheckBoxFor``1(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Collections.Generic.IDictionary{System.String,System.Object})
Namespace: DotNetNuke.Web.Mvc.HelpersAssembly: DotNetNuke.Web.Mvc (in DotNetNuke.Web.Mvc.dll)
Syntax
C# |
---|
public static MvcHtmlString CheckBoxFor<TModel>( this DnnHtmlHelper<TModel> html, Expression<Func<TModel, bool>> expression, IDictionary<string, Object> htmlAttributes ) |
Visual Basic |
---|
<ExtensionAttribute> Public Shared Function CheckBoxFor(Of TModel) ( html As DnnHtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, Boolean)), htmlAttributes As IDictionary(Of String, Object) ) As MvcHtmlString |
Parameters
- html
- Type: DotNetNuke.Web.Mvc.Helpers..::..DnnHtmlHelper<(Of <(<'TModel>)>)>
paramhtmlM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.CheckBoxFor``1(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Collections.Generic.IDictionary{System.String,System.Object})
- expression
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TModel, Boolean>)>)>>)>)>
paramexpressionM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.CheckBoxFor``1(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Collections.Generic.IDictionary{System.String,System.Object})
- htmlAttributes
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, Object>)>)>
paramhtmlAttributesM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.CheckBoxFor``1(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Collections.Generic.IDictionary{System.String,System.Object})
Type Parameters
- TModel
- typeparamTModelM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.CheckBoxFor``1(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Collections.Generic.IDictionary{System.String,System.Object})