Html32TextWriter.OnStyleAttributeRender Método

Definição

Determina se deve escrever o atributo de estilo HTML especificado e o seu valor no fluxo de saída.

protected:
 override bool OnStyleAttributeRender(System::String ^ name, System::String ^ value, System::Web::UI::HtmlTextWriterStyle key);
protected override bool OnStyleAttributeRender(string name, string value, System.Web.UI.HtmlTextWriterStyle key);
override this.OnStyleAttributeRender : string * string * System.Web.UI.HtmlTextWriterStyle -> bool
Protected Overrides Function OnStyleAttributeRender (name As String, value As String, key As HtmlTextWriterStyle) As Boolean

Parâmetros

name
String

O atributo de estilo HTML para escrever no fluxo de saída.

value
String

O valor associado ao atributo de estilo HTML.

key
HtmlTextWriterStyle

O HtmlTextWriterStyle valor de enumeração associado ao atributo de estilo HTML.

Devoluções

true se o atributo estilo HTML e o seu valor forem renderizados no fluxo de saída; caso contrário, false.

Observações

O OnStyleAttributeRender método suporta um número menor de atributos de estilo HTML do que o OnStyleAttributeRender método que sobrepõe.

Aplica-se a