Language

DependencyPropertyDescriptor.FromName メソッド

定義

指定されたプロパティ名の DependencyPropertyDescriptor を返します。

オーバーロード

名前 説明
FromName(String, Type, Type)

指定されたプロパティ名の DependencyPropertyDescriptor を返します。

FromName(String, Type, Type, Boolean)

指定されたプロパティ名の DependencyPropertyDescriptor を返します。

FromName(String, Type, Type)

指定されたプロパティ名の DependencyPropertyDescriptor を返します。

public:
 static System::ComponentModel::DependencyPropertyDescriptor ^ FromName(System::String ^ name, Type ^ ownerType, Type ^ targetType);
public static System.ComponentModel.DependencyPropertyDescriptor FromName(string name, Type ownerType, Type targetType);
static member FromName : string * Type * Type -> System.ComponentModel.DependencyPropertyDescriptor
Public Shared Function FromName (name As String, ownerType As Type, targetType As Type) As DependencyPropertyDescriptor

パラメーター

name
String

依存関係プロパティまたは添付プロパティの登録済みの名前。

ownerType
Type

プロパティ定義を所有するオブジェクトの Type 。

targetType
Type

プロパティを設定するオブジェクトの Type 。

返品

要求された DependencyPropertyDescriptor。

注釈

nameは依存関係プロパティまたは添付プロパティを参照する可能性があり、問題のプロパティを定義したnameまたはRegister呼び出しに渡されるRegisterAttached パラメーターです。 ownerType はプロパティを所有するオブジェクトの型であり、 Register または RegisterAttachedに渡されます。 targetType は、プロパティを設定するオブジェクトの型です。 依存関係プロパティの場合、 ownerType と targetType は同じ型です。 添付プロパティの場合、通常は異なります。

適用対象

FromName(String, Type, Type, Boolean)

指定されたプロパティ名の DependencyPropertyDescriptor を返します。

public:
 static System::ComponentModel::DependencyPropertyDescriptor ^ FromName(System::String ^ name, Type ^ ownerType, Type ^ targetType, bool ignorePropertyType);
public static System.ComponentModel.DependencyPropertyDescriptor FromName(string name, Type ownerType, Type targetType, bool ignorePropertyType);
static member FromName : string * Type * Type * bool -> System.ComponentModel.DependencyPropertyDescriptor
Public Shared Function FromName (name As String, ownerType As Type, targetType As Type, ignorePropertyType As Boolean) As DependencyPropertyDescriptor

パラメーター

name
String

依存関係プロパティまたは添付プロパティの登録済みの名前。

ownerType
Type

プロパティ定義を所有するオブジェクトの Type 。

targetType
Type

プロパティを設定するオブジェクトの Type 。

ignorePropertyType
Boolean

プロパティの種類を無視するように指定します。

返品

要求された DependencyPropertyDescriptor。

注釈

nameは依存関係プロパティまたは添付プロパティを参照する可能性があり、問題のプロパティを定義したnameまたはRegister呼び出しに渡されるRegisterAttached パラメーターです。 ownerType はプロパティを所有するオブジェクトの型であり、 Register または RegisterAttachedに渡されます。 targetType は、プロパティを設定するオブジェクトの型です。 依存関係プロパティの場合、 ownerType と targetType は同じ型です。 添付プロパティの場合、通常は異なります。

適用対象