This documentation is archived and is not being maintained.
WebControl.ControlStyle Property
.NET Framework 1.1
Gets the style of the Web server control. This property is used primarily by control developers.
[Visual Basic] Public ReadOnly Property ControlStyle As Style [C#] public Style ControlStyle {get;} [C++] public: __property Style* get_ControlStyle(); [JScript] public function get ControlStyle() : Style;
Property Value
A Style that encapsulates the appearance properties of the Web server control.
Remarks
The ControlStyle property encapsulates all properties of the WebControl class that specify the appearance of the control, such as BorderColor and Font.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
WebControl Class | WebControl Members | System.Web.UI.WebControls Namespace | Style | ControlStyleCreated
Show: