HtmlControl.Style Property
.NET Framework 2.0
Gets a collection of all cascading style sheet (CSS) properties applied to a specified HTML server control in the ASP.NET file.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public CssStyleCollection get_Style ()
public function get Style () : CssStyleCollection
Property Value
A System.Web.UI.CssStyleCollection object that contains the style properties for the HTML server control.The following code example demonstrates how to use the Style property to determine the style properties of an HtmlSelect control.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: