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)

Syntax
[BrowsableAttribute(false)]
public Style ControlStyle { get; }
public:
[BrowsableAttribute(false)]
property Style^ ControlStyle {
	Style^ get();
}
[<BrowsableAttribute(false)>]
member ControlStyle : Style with get
<BrowsableAttribute(False)>
Public ReadOnly Property ControlStyle As Style

Property Value

Type:

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

Remarks

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