AttachedPropertyBrowsableForTypeAttribute クラス

定義

添付プロパティが、指定した型から派生した要素に対してのみ参照可能なことを指定します。

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

注釈

この.NET Framework属性の説明で使用される用語browsableの意味は、 に指定BrowsableAttributeされた説明に似ていますが、添付プロパティのブロウズ可能な状態は、添付プロパティが主に XAML 概念であるため、Extensible Application Markup Language (XAML) のプロパティ情報に特に関連します。

.NET Framework属性に複数のAttachedPropertyBrowsableForTypeAttribute型が指定されている場合、指定した型が一致する (論理型または ) 場合、プロパティは参照可能です。 型は インターフェイスにすることもできます。

この.NET Framework属性は を指定しますAllowMultipletrue

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

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

コンストラクター

AttachedPropertyBrowsableForTypeAttribute(Type)

指定した targetType を使用して、AttachedPropertyBrowsableForTypeAttribute クラスの新しいインスタンスを初期化します。

プロパティ

TargetType

この.NET Framework属性が適用される添付プロパティの使用をスコープとする基本型を取得します。

TypeId

このAttachedPropertyBrowsableForTypeAttribute.NET Framework属性の一意の型識別子を取得します。

メソッド

Equals(Object)

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

GetHashCode()

このAttachedPropertyBrowsableForTypeAttribute.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)

適用対象