DependencyProperty.RegisterAttached メソッド

定義

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラスの新しいインスタンスを初期化します。

オーバーロード

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

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラスの新しいインスタンスを初期化します。 このインスタンスは、所有する型のオブジェクト以外のオブジェクトで使用されるプロパティを宣言するためのものです。

RegisterAttached(String, Type, Type, PropertyMetadata)

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラスの新しいインスタンスを初期化します。

RegisterAttached(String, Type, Type, PropertyMetadata, Type)

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラスの新しいインスタンスを初期化します。

RegisterAttached(String, Type, Type)

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラスの新しいインスタンスを初期化します。 このインスタンスは、所有する型のオブジェクト以外のオブジェクトで使用されるプロパティを宣言するためのものです。

public:
 static System::Workflow::ComponentModel::DependencyProperty ^ RegisterAttached(System::String ^ name, Type ^ propertyType, Type ^ ownerType);
public static System.Workflow.ComponentModel.DependencyProperty RegisterAttached(string name, Type propertyType, Type ownerType);
static member RegisterAttached : string * Type * Type -> System.Workflow.ComponentModel.DependencyProperty
Public Shared Function RegisterAttached (name As String, propertyType As Type, ownerType As Type) As DependencyProperty

パラメーター

name
String

DependencyPropertyの名前。

propertyType
Type

Type プロパティに含めることができる値の を指定します。

ownerType
Type

依存関係プロパティの所有者 Type

返品

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラス。

適用対象

RegisterAttached(String, Type, Type, PropertyMetadata)

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラスの新しいインスタンスを初期化します。

public:
 static System::Workflow::ComponentModel::DependencyProperty ^ RegisterAttached(System::String ^ name, Type ^ propertyType, Type ^ ownerType, System::Workflow::ComponentModel::PropertyMetadata ^ defaultMetadata);
public static System.Workflow.ComponentModel.DependencyProperty RegisterAttached(string name, Type propertyType, Type ownerType, System.Workflow.ComponentModel.PropertyMetadata defaultMetadata);
static member RegisterAttached : string * Type * Type * System.Workflow.ComponentModel.PropertyMetadata -> System.Workflow.ComponentModel.DependencyProperty
Public Shared Function RegisterAttached (name As String, propertyType As Type, ownerType As Type, defaultMetadata As PropertyMetadata) As DependencyProperty

パラメーター

name
String

DependencyPropertyの名前。

propertyType
Type

Type プロパティに含めることができる値の を指定します。

ownerType
Type

依存関係プロパティの所有者 Type

defaultMetadata
PropertyMetadata

追加のプロパティ オプション。

返品

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラス。

適用対象

RegisterAttached(String, Type, Type, PropertyMetadata, Type)

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラスの新しいインスタンスを初期化します。

public:
 static System::Workflow::ComponentModel::DependencyProperty ^ RegisterAttached(System::String ^ name, Type ^ propertyType, Type ^ ownerType, System::Workflow::ComponentModel::PropertyMetadata ^ defaultMetadata, Type ^ validatorType);
public static System.Workflow.ComponentModel.DependencyProperty RegisterAttached(string name, Type propertyType, Type ownerType, System.Workflow.ComponentModel.PropertyMetadata defaultMetadata, Type validatorType);
static member RegisterAttached : string * Type * Type * System.Workflow.ComponentModel.PropertyMetadata * Type -> System.Workflow.ComponentModel.DependencyProperty
Public Shared Function RegisterAttached (name As String, propertyType As Type, ownerType As Type, defaultMetadata As PropertyMetadata, validatorType As Type) As DependencyProperty

パラメーター

name
String

DependencyPropertyの名前。

propertyType
Type

Type プロパティに含めることができる値の を指定します。

ownerType
Type

依存関係プロパティの所有者 Type

defaultMetadata
PropertyMetadata

追加のプロパティ オプション。

validatorType
Type

Type 添付プロパティの検証ロジックを実装するオブジェクトの

返品

入力パラメーターに従ってパラメーター化されたプロパティを持つ DependencyProperty クラス。

適用対象