DesignPropertyDescriptor Class

This class and its members are reserved for internal use and are not intended to be used in your code. The purpose of DesignPropertyDescriptor is to allow us to customize the display name of the property in the property grid. None of the CLR implementations of PropertyDescriptor allow you to change the DisplayName.

Inheritance Hierarchy

System..::..Object
  System.ComponentModel..::..MemberDescriptor
    System.ComponentModel..::..PropertyDescriptor
      Microsoft.VisualStudio.Data.Tools.Package.Project.Internal..::..DesignPropertyDescriptor

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.Project.Internal
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
Public Class DesignPropertyDescriptor _
    Inherits PropertyDescriptor
'Usage
Dim instance As DesignPropertyDescriptor
public class DesignPropertyDescriptor : PropertyDescriptor
public ref class DesignPropertyDescriptor : public PropertyDescriptor
type DesignPropertyDescriptor =  
    class
        inherit PropertyDescriptor
    end
public class DesignPropertyDescriptor extends PropertyDescriptor

The DesignPropertyDescriptor type exposes the following members.

Constructors

  Name Description
Public method DesignPropertyDescriptor Constructor. Copy the base property descriptor and also hold a pointer to it for calling its overridden abstract methods.

Top

Properties

  Name Description
Protected property AttributeArray (Inherited from MemberDescriptor.)
Public property Attributes (Inherited from MemberDescriptor.)
Public property Category (Inherited from MemberDescriptor.)
Public property ComponentType Delegates to base. (Overrides PropertyDescriptor..::..ComponentType.)
Public property Converter Return type converter for property (Overrides PropertyDescriptor..::..Converter.)
Public property Description (Inherited from MemberDescriptor.)
Public property DesignTimeOnly (Inherited from MemberDescriptor.)
Public property DisplayName Delegates to base. (Overrides MemberDescriptor..::..DisplayName.)
Public property IsBrowsable (Inherited from MemberDescriptor.)
Public property IsLocalizable (Inherited from PropertyDescriptor.)
Public property IsReadOnly Delegates to base. (Overrides PropertyDescriptor..::..IsReadOnly.)
Public property Name (Inherited from MemberDescriptor.)
Protected property NameHashCode (Inherited from MemberDescriptor.)
Public property PropertyType Delegates to base. (Overrides PropertyDescriptor..::..PropertyType.)
Public property SerializationVisibility (Inherited from PropertyDescriptor.)
Public property SupportsChangeEvents (Inherited from PropertyDescriptor.)

Top

Methods

  Name Description
Public method AddValueChanged (Inherited from PropertyDescriptor.)
Public method CanResetValue Delegates to base. (Overrides PropertyDescriptor..::..CanResetValue(Object).)
Protected method CreateAttributeCollection (Inherited from MemberDescriptor.)
Protected method CreateInstance (Inherited from PropertyDescriptor.)
Public method Equals (Inherited from PropertyDescriptor.)
Protected method FillAttributes (Inherited from PropertyDescriptor.)
Protected method Finalize (Inherited from Object.)
Public method GetChildProperties() () () () (Inherited from PropertyDescriptor.)
Public method GetChildProperties(array<Attribute> [] () [] []) (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Object) (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Object, array<Attribute> [] () [] []) (Inherited from PropertyDescriptor.)
Public method GetEditor Delegates to base. (Overrides PropertyDescriptor..::..GetEditor(Type).)
Public method GetHashCode (Inherited from PropertyDescriptor.)
Protected method GetInvocationTarget (Inherited from PropertyDescriptor.)
Public method GetType (Inherited from Object.)
Protected method GetTypeFromName (Inherited from PropertyDescriptor.)
Public method GetTypeFromNameProperty Convert name to a Type object.
Public method GetValue Delegates to base. (Overrides PropertyDescriptor..::..GetValue(Object).)
Protected method GetValueChangedHandler (Inherited from PropertyDescriptor.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnValueChanged (Inherited from PropertyDescriptor.)
Public method RemoveValueChanged (Inherited from PropertyDescriptor.)
Public method ResetValue Delegates to base. (Overrides PropertyDescriptor..::..ResetValue(Object).)
Public method SetValue Delegates to base. (Overrides PropertyDescriptor..::..SetValue(Object, Object).)
Public method ShouldSerializeValue Delegates to base. (Overrides PropertyDescriptor..::..ShouldSerializeValue(Object).)
Public method ToString (Inherited from Object.)

Top

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.

See Also

Reference

Microsoft.VisualStudio.Data.Tools.Package.Project.Internal Namespace