DependencyPropertyServices.GetDependencyProperty Method (Type, String) |
Gets the DependencyProperty object associated with a property of a given name for a given type.
Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 6.8.6.0 (6.8.6.0)

C#
public static DependencyProperty GetDependencyProperty( Type type, string propertyName )
Parameters
- type
- Type: System.Type
The type for which the dependency property was registered. - propertyName
- Type: System.String
The name of the property.
Return Value
Type: DependencyPropertyThe DependencyProperty instance.
