DependencyPropertyDescriptor.FromName Method (String, Type, Type)
Returns a DependencyPropertyDescriptor for a provided property name.
Assembly: WindowsBase (in WindowsBase.dll)
public static DependencyPropertyDescriptor FromName( string name, Type ownerType, Type targetType )
The registered name of a dependency property or an attached property.
Return ValueType: System.ComponentModel.DependencyPropertyDescriptor
The requested DependencyPropertyDescriptor.
The name may refer to a dependency property or an attached property, and is the name parameter as passed to the Register or RegisterAttached call that defined the property in question. ownerType is the type of object that owns the property, again as passed to Register or RegisterAttached. targetType is the type of object you want to set the property for. For dependency properties, ownerType and targetType are the same type. For attached properties they usually differ.
Available since 3.0