System.Web.UI.WebControls.DataList: Property Members

The properties of System.Web.UI.WebControls.DataList are listed below. For a list of all members, see the DataList Members list.

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

Public Properties

[read-only]
AlternatingItemStyleTableItemStyle.

Gets the style properties for alternating items in the System.Web.UI.WebControls.DataList control.

AlternatingItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for alternating items in the System.Web.UI.WebControls.DataList.

EditItemIndexint.

Gets or sets the index number of the selected item in the System.Web.UI.WebControls.DataList control to edit.

[read-only]
EditItemStyleTableItemStyle.

Gets the style properties for the item selected for editing in the System.Web.UI.WebControls.DataList control.

EditItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for the item selected for editing in the System.Web.UI.WebControls.DataList control.

ExtractTemplateRowsbool.

Gets or sets a value that indicates whether the rows of a System.Web.UI.WebControls.Table control, defined in each template of a System.Web.UI.WebControls.DataList control, are extracted and displayed.

[read-only]
FooterStyleTableItemStyle.

Gets the style properties for the footer section of the System.Web.UI.WebControls.DataList control.

FooterTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for the footer section of the System.Web.UI.WebControls.DataList control.

override
GridLinesGridLines.

Gets or sets the grid line style for the System.Web.UI.WebControls.DataList control when the DataList.RepeatLayout property is set to RepeatLayout.Table.

[read-only]
HeaderStyleTableItemStyle.

Gets the style properties for the heading section of the System.Web.UI.WebControls.DataList control.

HeaderTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for the heading section of the System.Web.UI.WebControls.DataList control.

[read-only]
ItemsDataListItemCollection.

Gets a collection of System.Web.UI.WebControls.DataListItem objects representing the individual items within the control.

[read-only]
ItemStyleTableItemStyle.

Gets the style properties for the items in the System.Web.UI.WebControls.DataList control.

ItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for the items in the System.Web.UI.WebControls.DataList control.

RepeatColumnsint.

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

RepeatDirectionRepeatDirection.

Gets or sets whether the System.Web.UI.WebControls.DataList control displays vertically or horizontally.

RepeatLayoutRepeatLayout.

Gets or sets whether the control is displayed in a table or flow layout.

SelectedIndexint.

Gets or sets the index of the selected item in the System.Web.UI.WebControls.DataList control.

[read-only]
SelectedItemDataListItem.

Gets the selected item in the System.Web.UI.WebControls.DataList control.

[read-only]
SelectedItemStyleTableItemStyle.

Gets the style properties for the selected item in the System.Web.UI.WebControls.DataList control.

SelectedItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for the selected item in the System.Web.UI.WebControls.DataList control.

[read-only]
SelectedValueobject.

Gets the value of the key field for the selected data list item.

[read-only]
SeparatorStyleTableItemStyle.

Gets the style properties of the separator between each item in the System.Web.UI.WebControls.DataList control.

SeparatorTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for the separator between the items of the System.Web.UI.WebControls.DataList control.

ShowFooterbool.

Gets or sets a value indicating whether the footer section is displayed in the System.Web.UI.WebControls.DataList control.

ShowHeaderbool.

Gets or sets a value indicating whether the header section is displayed in the System.Web.UI.WebControls.DataList control.

Protected Properties

[read-only]
override
TagKeySystem.Web.UI.HtmlTextWriterTag.

Gets the HTML tag that is used to render the System.Web.UI.WebControls.DataList control.