Gets the style of the Web server control. This property is used primarily by control developers.

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

public Style ControlStyle { get; }
property Style^ ControlStyle {
	Style^ get();
member ControlStyle : Style with get
Public ReadOnly Property ControlStyle As Style

Property Value


A Style that encapsulates the appearance properties of the Web server control.


The property encapsulates all properties of the WebControl class that specify the appearance of the control, such as and .

Version Information
.NET Framework
Available since 1.1
Return to top