System.Web.UI.WebControls.CheckBoxList Members

The members of System.Web.UI.WebControls.CheckBoxList are listed below.

See Also: Inherited members from System.Web.UI.WebControls.ListControl

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.CheckBoxList class.

Public Properties

CellPaddingint.

Gets or sets the distance (in pixels) between the border and contents of the cell.

CellSpacingint.

Gets or sets the distance (in pixels) between cells.

RepeatColumnsint.

Gets or sets the number of columns to display in the System.Web.UI.WebControls.CheckBoxList control.

RepeatDirectionRepeatDirection.

Gets or sets a value that indicates whether the control displays vertically or horizontally.

RepeatLayoutRepeatLayout.

Gets or sets a value that specifies whether the list will be rendered by using a table element, a ul element, an ol element, or a span element.

TextAlignTextAlign.

Gets or sets the text alignment for the check boxes within the group.

Protected Properties

[read-only]
HasFooterbool.

Gets a value indicating whether the System.Web.UI.WebControls.CheckBoxList control contains a footer section.

[read-only]
HasHeaderbool.

Gets a value indicating whether the System.Web.UI.WebControls.CheckBoxList control contains a heading section.

[read-only]
HasSeparatorsbool.

Gets a value indicating whether the System.Web.UI.WebControls.CheckBoxList control contains a separator between items in the list.

[read-only]
RepeatedItemCountint.

Gets the number of list items in the System.Web.UI.WebControls.CheckBoxList control.

Protected Methods

override
CreateControlStyle() : Style

Creates a style object that is used internally by the System.Web.UI.WebControls.CheckBoxList control to implement all style related properties.

override
FindControl(string, int) : System.Web.UI.Control

Searches the current naming container for a server control with the specified ID and path offset. The CheckBoxList.FindControl(string, int) method always returns the System.Web.UI.WebControls.CheckBoxList object.

GetItemStyle(ListItemType, int) : Style

Retrieves the style of the specified item type at the specified index in the list control.

LoadPostData(string, System.Collections.Specialized.NameValueCollection) : bool

Processes the posted data for the System.Web.UI.WebControls.CheckBoxList control.

override
OnPreRender(EventArgs)

Configures the System.Web.UI.WebControls.CheckBoxList control prior to rendering on the client.

RaisePostDataChangedEvent()

Notifies the ASP.NET application that the state of the System.Web.UI.WebControls.CheckBoxList control has changed.

override
Render(System.Web.UI.HtmlTextWriter)

Displays the System.Web.UI.WebControls.CheckBoxList on the client.

RenderItem(ListItemType, int, RepeatInfo, System.Web.UI.HtmlTextWriter)

Renders a list item in the System.Web.UI.WebControls.CheckBoxList control.

override
VerifyMultiSelect()
Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

System.Web.UI.WebControls.IRepeatInfoUser.GetItemStyle

For a description of this member, see IRepeatInfoUser.GetItemStyle(ListItemType, int).

[read-only]
System.Web.UI.WebControls.IRepeatInfoUser.HasFooterbool.

Gets a value that indicates whether the list control contains a footer section.

[read-only]
System.Web.UI.WebControls.IRepeatInfoUser.HasHeaderbool.

Gets a value that indicates whether the list control contains a heading section.

[read-only]
System.Web.UI.WebControls.IRepeatInfoUser.HasSeparatorsbool.

Gets a value that indicates whether the list control contains a separator between items in the list.

System.Web.UI.IPostBackDataHandler.LoadPostData

Processes posted data for the System.Web.UI.WebControls.CheckBoxList control.

System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent

Raised when posted data for a control has changed.

System.Web.UI.WebControls.IRepeatInfoUser.RenderItem

For a description of this member, see IRepeatInfoUser.RenderItem(ListItemType, int, RepeatInfo, System.Web.UI.HtmlTextWriter).

[read-only]
System.Web.UI.WebControls.IRepeatInfoUser.RepeatedItemCountint.

Gets the number of items in the list control.