DependencyProperty.RegisterAttached Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DependencyProperty class that has the properties parameterized according to the input parameters.
Overloads
RegisterAttached(String, Type, Type) |
Initializes a new instance of the DependencyProperty class that has the properties parameterized according to the input parameters. This instance is intended to declare properties that are used on objects other than the objects of owning type. |
RegisterAttached(String, Type, Type, PropertyMetadata) |
Initializes a new instance of the DependencyProperty class that has the properties parameterized according to the input parameters. |
RegisterAttached(String, Type, Type, PropertyMetadata, Type) |
Initializes a new instance of the DependencyProperty class that has the properties parameterized according to the input parameters. |
RegisterAttached(String, Type, Type)
Initializes a new instance of the DependencyProperty class that has the properties parameterized according to the input parameters. This instance is intended to declare properties that are used on objects other than the objects of owning type.
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
Parameters
- name
- String
The name of the DependencyProperty.
Returns
The DependencyProperty class that has the properties parameterized according to the input parameters.
Applies to
RegisterAttached(String, Type, Type, PropertyMetadata)
Initializes a new instance of the DependencyProperty class that has the properties parameterized according to the input parameters.
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
Parameters
- name
- String
The name of the DependencyProperty.
- defaultMetadata
- PropertyMetadata
Additional property options.
Returns
The DependencyProperty class that has the properties parameterized according to the input parameters.
Applies to
RegisterAttached(String, Type, Type, PropertyMetadata, Type)
Initializes a new instance of the DependencyProperty class that has the properties parameterized according to the input parameters.
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
Parameters
- name
- String
The name of the DependencyProperty.
- defaultMetadata
- PropertyMetadata
Additional property options.
Returns
The DependencyProperty class that has the properties parameterized according to the input parameters.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기