Panel.CreateControlStyle Method

Definition

Creates a style object that is used internally by the Panel control to implement all style related properties.

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 PanelStyle that contains the style properties of the control.

Remarks

The CreateControlStyle method is used primarily by control developers.

Applies to