System.Web.UI.WebControls.DataList.CreateControlStyle Method

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

Syntax

protected override Style CreateControlStyle ()

Returns

A System.Web.UI.WebControls.TableStyle that contains the default style properties for the control.

Remarks

The DataList.CreateControlStyle method is used primarily by control developers in deriving a custom implementation from the System.Web.UI.WebControls.DataList control.

Requirements

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