HtmlControl.Style Property
.NET Framework 3.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
Not applicable.
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.
Community Additions
ADD
Show: