AttachedPropertyBrowsableWhenAttributePresentAttribute クラス

定義

添付プロパティが、そのクラス定義に適用される別の特定の.NET属性を持つ要素でのみ、参照可能であることを指定します。

public ref class AttachedPropertyBrowsableWhenAttributePresentAttribute sealed : System::Windows::AttachedPropertyBrowsableAttribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class AttachedPropertyBrowsableWhenAttributePresentAttribute : System.Windows.AttachedPropertyBrowsableAttribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)>]
type AttachedPropertyBrowsableWhenAttributePresentAttribute = class
    inherit AttachedPropertyBrowsableAttribute
Public NotInheritable Class AttachedPropertyBrowsableWhenAttributePresentAttribute
Inherits AttachedPropertyBrowsableAttribute
継承
AttachedPropertyBrowsableWhenAttributePresentAttribute
属性

注釈

この .NET Framework 属性の説明で使用される browsable という用語の意味は、BrowsableAttribute に指定された説明に似ていますが、添付プロパティのブロウズ可能な状態は、添付プロパティが主に XAML 概念であるため、拡張アプリケーション マークアップ言語 (XAML) のプロパティ情報に特に関連します。

この.NET Framework 属性は、添付プロパティ定義の get アクセサーにのみ適用する必要があります。 この .NET Framework 属性を set アクセサーに適用しないでください。 直感的には、関連する要素で XAML に対してブロウズ可能にされている設定操作ですが、実際の動作を制御するプロパティ定義要素の get アクセサーの存在と特性です。

添付プロパティの宣言に関する一般的な情報については、「 添付プロパティの概要」を参照してください。

コンストラクター

名前 説明
AttachedPropertyBrowsableWhenAttributePresentAttribute(Type)

AttachedPropertyBrowsableWhenAttributePresentAttribute クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
AttributeType

クラスにも適用する必要がある.NET属性の型を取得します。

TypeId

派生クラスで実装されている場合は、この Attributeの一意の識別子を取得します。

(継承元 Attribute)

メソッド

名前 説明
Equals(Object)

現在の AttachedPropertyBrowsableWhenAttributePresentAttribute .NET Framework 属性が指定したオブジェクトと等しいかどうかを判断します。

GetHashCode()

この AttachedPropertyBrowsableWhenAttributePresentAttribute .NET Framework 属性のハッシュ コードを返します。

GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()

派生クラスでオーバーライドされた場合、このインスタンスの値が派生クラスの既定値であるかどうかを示します。

(継承元 Attribute)
Match(Object)

派生クラスでオーバーライドされた場合、このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

明示的なインターフェイスの実装

名前 説明
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

一連の名前を対応する一連のディスパッチ識別子に割り当てます。

(継承元 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

インターフェイスの型情報を取得するために使用できるオブジェクトの型情報を取得します。

(継承元 Attribute)
_Attribute.GetTypeInfoCount(UInt32)

オブジェクトが提供する型情報インターフェイスの数 (0 または 1) を取得します。

(継承元 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

オブジェクトによって公開されるプロパティとメソッドへのアクセスを提供します。

(継承元 Attribute)

適用対象