Style.RegisteredCssClass Propriedade

Definição

Obtém a classe CSS (folha de estilos em cascata) que está registrada com o controle.Gets the cascading style sheet (CSS) class that is registered with the control.

public:
 property System::String ^ RegisteredCssClass { System::String ^ get(); };
[System.ComponentModel.Browsable(false)]
public string RegisteredCssClass { get; }
[<System.ComponentModel.Browsable(false)>]
member this.RegisteredCssClass : string
Public ReadOnly Property RegisteredCssClass As String

Valor da propriedade

String

O nome da classe CSS com a qual a instância atual foi registrada na página.The CSS class name with which the current instance was registered on the page.

Atributos

Comentários

Use a RegisteredCssClass propriedade para recuperar a classe CSS que está registrada com o controle.Use the RegisteredCssClass property to retrieve the CSS class that is registered with the control.

Um estilo é registrado na página atual com um RegisterStyle método, que procura um <head runat="server"``> elemento na página em que as propriedades na instância atual são colocadas em uma folha de estilos inserida, representada por um <style> elemento, sob um nome de classe exclusivo para o controle associado.A style is registered on the current page with a RegisterStyle 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.

Aplica-se a