Style::RegisteredCssClass Property
Gets the cascading style sheet (CSS) class that is registered with the control.
Assembly: System.Web (in System.Web.dll)
[BrowsableAttribute(false)] public: property String^ RegisteredCssClass { String^ get (); }
Property Value
Type: System::StringThe CSS class name with which the current instance was registered on the page.
Use the RegisteredCssClass property to retrieve the CSS class that is registered with the control.
You can register a style on the current page by calling the IStyleSheet::RegisterStyle method. This method looks for a head element with the attribute runat="server" on the page where the properties in the current instance are placed in an embedded style sheet, represented by a style element, under a class name unique to the associated control.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.