Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Collapse]DevExpress.Web.Mvc.UI
   [Expand]ExtensionsFactory Class
   [Collapse]ExtensionsFactory<ModelType> Class
     ExtensionsFactory<ModelType> Members
     ExtensionsFactory<ModelType> Constructor
    [Collapse]ExtensionsFactory<ModelType> Methods
     [Expand]BinaryImageFor<ValueType> Method
     [Expand]ButtonEditFor<ValueType> Method
     [Expand]CalendarFor<ValueType> Method
     [Collapse]CheckBoxFor<ValueType> Method
       CheckBoxFor<ValueType>(Expression<Func<ModelType, ValueType>>) Method
       CheckBoxFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<CheckBoxSettings>) Method
     [Expand]CheckBoxListFor<ValueType> Method
     [Expand]ColorEditFor<ValueType> Method
     [Expand]ComboBoxFor<ValueType> Method
     [Expand]DateEditFor<ValueType> Method
     [Expand]DropDownEditFor<ValueType> Method
     [Expand]FormLayout Method
     [Expand]HtmlEditorFor<ValueType> Method
     [Expand]HyperLinkFor<ValueType> Method
     [Expand]ImageFor<ValueType> Method
     [Expand]LabelFor<ValueType> Method
     [Expand]ListBoxFor<ValueType> Method
     [Expand]MemoFor<ValueType> Method
     [Expand]ProgressBarFor<ValueType> Method
     [Expand]RadioButtonFor<ValueType> Method
     [Expand]RadioButtonListFor<ValueType> Method
     [Expand]SpinEditFor<ValueType> Method
     [Expand]TextBoxFor<ValueType> Method
     [Expand]TimeEditFor<ValueType> Method
     [Expand]TokenBoxFor<ValueType> Method
     [Expand]TrackBarFor<ValueType> Method
    ExtensionSuite Enumeration
    ExtensionType Enumeration
   [Expand]HtmlHelperExtension Class
   [Expand]ResourceItem Class
   [Expand]Script Class
   [Expand]StyleSheet Class
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ExtensionsFactory<ModelType>.CheckBoxFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<CheckBoxSettings>) Method

Creates a CheckBox.

Namespace:DevExpress.Web.Mvc.UI
Assembly:DevExpress.Web.Mvc.v17.2.dll

Expanded Syntax

Parameters

expression
Type: Expression<Func<ModelType, ValueType>>

An expression that identifies the object that contains the properties to display.


method
Type: Action<CheckBoxSettings>
A delegate method that accepts CheckBoxSettings as a parameter.

Return value

Type: CheckBoxExtension
A CheckBoxExtension object implementing the CheckBox functionality.

Expanded See Also

How would you rate this topic?​​​​​​​