System.Web.UI.WebControls.Style.RegisteredCssClass Property

Gets the cascading style sheet (CSS) class that is registered with the control.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public string RegisteredCssClass { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Style.RegisteredCssClass property to retrieve the CSS class that is registered with the control.

A style is registered on the current page with a System.Web.UI.IStyleSheet.RegisterStyle(Style, System.Web.UI.IUrlResolutionService) method, which looks for a <head runat="server" > element 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.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0