次の方法で共有


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 の概念であるため、拡張アプリケーション マークアップ言語 (XAML) のプロパティ情報に特に関連します。

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

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

適用対象