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
[read-only] | AlternatingItemStyle | TableItemStyle.
Gets the style properties for alternating items in the System.Web.UI.WebControls.DataList control. |
AlternatingItemTemplate | System.Web.UI.ITemplate.
Gets or sets the template for alternating items in the System.Web.UI.WebControls.DataList. | |
EditItemIndex | int.
Gets or sets the index number of the selected item in the System.Web.UI.WebControls.DataList control to edit. | |
[read-only] | EditItemStyle | TableItemStyle.
Gets the style properties for the item selected for editing in the System.Web.UI.WebControls.DataList control. |
EditItemTemplate | System.Web.UI.ITemplate.
Gets or sets the template for the item selected for editing in the System.Web.UI.WebControls.DataList control. | |
ExtractTemplateRows | bool.
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] | FooterStyle | TableItemStyle.
Gets the style properties for the footer section of the System.Web.UI.WebControls.DataList control. |
FooterTemplate | System.Web.UI.ITemplate.
Gets or sets the template for the footer section of the System.Web.UI.WebControls.DataList control. | |
override | GridLines | GridLines.
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] | HeaderStyle | TableItemStyle.
Gets the style properties for the heading section of the System.Web.UI.WebControls.DataList control. |
HeaderTemplate | System.Web.UI.ITemplate.
Gets or sets the template for the heading section of the System.Web.UI.WebControls.DataList control. | |
[read-only] | Items | DataListItemCollection.
Gets a collection of System.Web.UI.WebControls.DataListItem objects representing the individual items within the control. |
[read-only] | ItemStyle | TableItemStyle.
Gets the style properties for the items in the System.Web.UI.WebControls.DataList control. |
ItemTemplate | System.Web.UI.ITemplate.
Gets or sets the template for the items in the System.Web.UI.WebControls.DataList control. | |
RepeatColumns | int.
Gets or sets the number of columns to display in the System.Web.UI.WebControls.DataList control. | |
RepeatDirection | RepeatDirection.
Gets or sets whether the System.Web.UI.WebControls.DataList control displays vertically or horizontally. | |
RepeatLayout | RepeatLayout.
Gets or sets whether the control is displayed in a table or flow layout. | |
SelectedIndex | int.
Gets or sets the index of the selected item in the System.Web.UI.WebControls.DataList control. | |
[read-only] | SelectedItem | DataListItem.
Gets the selected item in the System.Web.UI.WebControls.DataList control. |
[read-only] | SelectedItemStyle | TableItemStyle.
Gets the style properties for the selected item in the System.Web.UI.WebControls.DataList control. |
SelectedItemTemplate | System.Web.UI.ITemplate.
Gets or sets the template for the selected item in the System.Web.UI.WebControls.DataList control. | |
[read-only] | SelectedValue | object.
Gets the value of the key field for the selected data list item. |
[read-only] | SeparatorStyle | TableItemStyle.
Gets the style properties of the separator between each item in the System.Web.UI.WebControls.DataList control. |
SeparatorTemplate | System.Web.UI.ITemplate.
Gets or sets the template for the separator between the items of the System.Web.UI.WebControls.DataList control. | |
ShowFooter | bool.
Gets or sets a value indicating whether the footer section is displayed in the System.Web.UI.WebControls.DataList control. | |
ShowHeader | bool.
Gets or sets a value indicating whether the header section is displayed in the System.Web.UI.WebControls.DataList control. |
[read-only] override | TagKey | System.Web.UI.HtmlTextWriterTag.
Gets the HTML tag that is used to render the System.Web.UI.WebControls.DataList control. |