Edit

Share via


DataListItem.CreateControlStyle Method

Definition

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

protected:
 override System::Web::UI::WebControls::Style ^ CreateControlStyle();
protected override System.Web.UI.WebControls.Style CreateControlStyle ();
override this.CreateControlStyle : unit -> System.Web.UI.WebControls.Style
Protected Overrides Function CreateControlStyle () As Style

Returns

A TableItemStyle that contains the style properties of the control.

Remarks

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

Applies to