Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CheckBoxList Class

Adds the SelectedValues property to the framework's CheckBoxList control.

For a list of all members of this type, see CheckBoxList Members .

System.Object
   Control
      WebControl
         BaseDataBoundControl
            DataBoundControl
               ListControl
                  CheckBoxList
                     CheckBoxList

[Visual Basic]
<DataBindingHandler(HandlerTypeName:="System.Web.UI.Design.WebControls.ListControlDataBindingHandler, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<ParseChildren(ChildControlType:=System.Web.UI.Control, ChildrenAsProperties:=True, DefaultProperty:="Items")> _
<DefaultEvent(Name:="SelectedIndexChanged")> _
<Designer(DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner", DesignerTypeName:="System.Web.UI.Design.WebControls.ListControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<ControlValueProperty(Name:="SelectedValue", DefaultValue:=null)> _
<Designer(DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner", DesignerTypeName:="System.Web.UI.Design.WebControls.DataBoundControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<DefaultProperty(Name:="DataSourceID")> _
<Designer(DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner", DesignerTypeName:="System.Web.UI.Design.WebControls.BaseDataBoundControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<PersistChildren(Persist:=False, UsesCustomPersistence:=False)> _
<Themeable(Themeable:=True)> _
<ToolboxItem(ToolboxItemType:=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName:="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<Bindable(Bindable:=True, Direction:=BindingDirection.OneWay)> _
<DesignerCategory(Category:="Code")> _
<Designer(DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner", DesignerTypeName:="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<DesignerSerializer(SerializerTypeName:="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName:="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<ToolboxItemFilter(FilterString:="System.Web.UI", FilterType:=ToolboxItemFilterType.Require)> _
Public Class CheckBoxList
    Inherits CheckBoxList
[C#]
[DataBindingHandler(HandlerTypeName="System.Web.UI.Design.WebControls.ListControlDataBindingHandler, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ParseChildren(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=True, DefaultProperty="Items")]
[DefaultEvent(Name="SelectedIndexChanged")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.WebControls.ListControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ControlValueProperty(Name="SelectedValue", DefaultValue=null)]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.WebControls.DataBoundControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultProperty(Name="DataSourceID")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.WebControls.BaseDataBoundControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[PersistChildren(Persist=False, UsesCustomPersistence=False)]
[Themeable(Themeable=True)]
[ToolboxItem(ToolboxItemType=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[Bindable(Bindable=True, Direction=BindingDirection.OneWay)]
[DesignerCategory(Category="Code")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DesignerSerializer(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter(FilterString="System.Web.UI", FilterType=ToolboxItemFilterType.Require)]
public class CheckBoxList : CheckBoxList

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

When using Spring.Web's DataBinding, you should use this control for easier binding declaration.

Requirements

Namespace: Spring.Web.UI.Controls

Assembly: Spring.Web (in Spring.Web.dll)

See Also

CheckBoxList Members | Spring.Web.UI.Controls Namespace