Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DependencyPropertyDescriptor::FromProperty Method (PropertyDescriptor^)

 
Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

public:
static DependencyPropertyDescriptor^ FromProperty(
	PropertyDescriptor^ property
)

Parameters

property
Type: System.ComponentModel::PropertyDescriptor^

The PropertyDescriptor to check.

Return Value

Type: System.ComponentModel::DependencyPropertyDescriptor^

If the property described by property is a dependency property, returns a valid DependencyPropertyDescriptor. Otherwise, returns a nullDependencyPropertyDescriptor.

This method is the primary method used by designer applications to obtain a DependencyPropertyDescriptor on basis of checking all properties for a PropertyDescriptor.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft