ChtmlTextWriter.OnStyleAttributeRender Metodo

Definizione

Determina se è possibile eseguire il rendering dell'attributo di stile markup cHTML specificato e del relativo valore nell'elemento di markup corrente.

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

Parametri

name
String

Stringa contenente il nome dell'attributo di stile di cui eseguire il rendering.

value
String

Stringa contenente il valore assegnato a name.

key
HtmlTextWriterStyle

Elemento HtmlTextWriterStyle associato a name.

Restituisce

true se è possibile eseguire il rendering dello stile. In caso contrario, false.

Commenti

Il OnStyleAttributeRender metodo restituisce false quando key è uguale al TextDecoration campo e il valore è "line-through".

Si applica a

Vedi anche