System.Web.UI.WebControls.DataListItem.CreateControlStyle Method

Creates a System.Web.UI.WebControls.TableItemStyle object for the System.Web.UI.WebControls.DataListItem control, which contains the style properties for the control.

Syntax

protected override Style CreateControlStyle ()

Returns

A System.Web.UI.WebControls.TableItemStyle that contains the style properties of the control.

Remarks

This method is primarily used by control developers, when extending the functionality of the System.Web.UI.WebControls.DataListItem control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0