System.ComponentModel Names ...


.NET Framework Class Library
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)
Syntax

Visual Basic (Declaration)
Public NotInheritable Class DependencyPropertyDescriptor _
    Inherits PropertyDescriptor
Visual Basic (Usage)
Dim instance As DependencyPropertyDescriptor
C#
public sealed class DependencyPropertyDescriptor : PropertyDescriptor
Visual C++
public ref class DependencyPropertyDescriptor sealed : public PropertyDescriptor
JScript
public final class DependencyPropertyDescriptor extends PropertyDescriptor
XAML
You cannot directly create an instance of this class in XAML.
Remarks

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 nullNothingnullptra null reference (Nothing in Visual Basic), then the property is not a dependency property. If the method returns a valid DependencyPropertyDescriptor , then the property is a dependency property.

Inheritance Hierarchy

System..::.Object
  System.ComponentModel..::.MemberDescriptor
    System.ComponentModel..::.PropertyDescriptor
      System.ComponentModel..::.DependencyPropertyDescriptor
Thread Safety

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

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.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Other Resources

Change History

Date

History

Reason

July 2008

Added new member: DesignerCoerceValueCallback property.

SP1 feature change.

Tags :


Page view tracker