Duration (Pacific Standard Time):
To (Pacific Standard Time):
User Action:

WebControl.ControlStyle Property


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 ReadOnly Property ControlStyle As Style

Property Value

Type: System.Web.UI.WebControls.Style

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

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

.NET Framework
Available since 1.1
Return to top