Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.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)
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.

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.

System..::.Object
  System.ComponentModel..::.MemberDescriptor
    System.ComponentModel..::.PropertyDescriptor
      System.ComponentModel..::.DependencyPropertyDescriptor
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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker