Share via


IHtmlControlDesignerBehavior.GetStyleAttribute メソッド

定義

指定したスタイル属性を取得します。

public:
 System::Object ^ GetStyleAttribute(System::String ^ attribute, bool designTimeOnly, bool ignoreCase);
public object GetStyleAttribute (string attribute, bool designTimeOnly, bool ignoreCase);
abstract member GetStyleAttribute : string * bool * bool -> obj
Public Function GetStyleAttribute (attribute As String, designTimeOnly As Boolean, ignoreCase As Boolean) As Object

パラメーター

attribute
String

取得するスタイル属性。

designTimeOnly
Boolean

属性がデザイン時にだけアクティブである場合は true。それ以外の場合は false

ignoreCase
Boolean

属性の構文で大文字と小文字が区別されない場合は true。それ以外の場合は false

戻り値

取得されたスタイル属性。

注釈

注意

メソッドは GetStyleAttribute 廃止されました。 同等の GetDesignTimeCssAttributes コントロール デザイナー機能には、 ContainerControlDesigner クラスの メソッドを使用します。

適用対象

こちらもご覧ください