DependencyProperty.FromName(String, Type) 方法

定义

获取基于 DependencyPropertyName 的已注册 OwnerType

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

参数

propertyName
String

NameDependencyProperty

ownerType
Type

OwnerType 的必需值。

返回

DependencyProperty

基于 DependencyPropertyName 的已注册 OwnerType

适用于