Html32TextWriter.OnStyleAttributeRender Método

Definição

Determina se o atributo de estilo HTML especificado e seu valor devem ser gravados 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 a ser gravado 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.

Retornos

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

Comentários

O OnStyleAttributeRender método dá suporte a um número menor de atributos de estilo HTML do que o OnStyleAttributeRender método que ele substitui.

Aplica-se a