編輯

共用方式為


DependencyProperty.FromName(String, Type) Method

Definition

Gets the registered DependencyProperty based on the Name and 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

Parameters

propertyName
String

The Name of the DependencyProperty.

ownerType
Type

The required value of OwnerType.

Returns

The registered DependencyProperty based on the Name and OwnerType.

Applies to