Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DependencyPropertyDescriptor Class

Updated: July 2008

Provides an extension of PropertyDescriptor that accounts for the additional property characteristics of a dependency property.

Namespace:  System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)
public sealed class DependencyPropertyDescriptor : PropertyDescriptor
You cannot directly create an instance of this class in XAML.

This class is primarily used by designer applications. These applications may need to report the dependency property characteristics through property windows or other tools used for editing property values.

In order to check a specific property to determine whether it has DependencyPropertyDescriptor available to serve as a PropertyDescriptor, call either DependencyPropertyDescriptor.FromProperty(PropertyDescriptor), or DependencyPropertyDescriptor.FromName. If either method returns null, then the property is not a dependency property. If the method returns a valid DependencyPropertyDescriptor , then the property is a dependency property.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Date

History

Reason

July 2008

Added new member: DesignerCoerceValueCallback property.

SP1 feature change.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.