ChtmlTextWriter.OnStyleAttributeRender メソッド

定義

指定された cHTML マークアップ スタイル属性とその値を現在のマークアップ要素に出力するかどうかを決定します。

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

パラメーター

name
String

レンダリングするスタイル属性の名前を格納している文字列。

value
String

name に割り当てる値を格納している文字列。

key
HtmlTextWriterStyle

HtmlTextWriterStyle に関連付けられている name

戻り値

スタイルを出力できる場合は true。それ以外の場合は false

注釈

OnStyleAttributeRender フィールドと等しく、値が である場合keyTextDecoration メソッドは "line-through"を返falseします。

適用対象

こちらもご覧ください