DataListItem.CreateControlStyle Method

Creates a TableItemStyle object for the DataListItem control, which contains the style properties for the control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected override Style CreateControlStyle()

Return Value

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

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft