C# Class Microsoft.VisualStudio.Project.DesignPropertyDescriptor

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: System.ComponentModel.PropertyDescriptor
Mostra file Open project: tunnelvisionlabs/MPFProj10

Public Methods

Method Description
CanResetValue ( object component ) : bool

Delegates to base.

DesignPropertyDescriptor ( PropertyDescriptor prop, ProjectNode projectManager ) : System

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

GetEditor ( Type editorBaseType ) : object

Delegates to base.

GetTypeFromNameProperty ( string typeName ) : Type

Convert name to a Type object.

GetValue ( object component ) : object

Delegates to base.

ResetValue ( object component ) : void

Delegates to base.

SetValue ( object component, object value ) : void

Delegates to base.

ShouldSerializeValue ( object component ) : bool

Delegates to base.

Method Details

CanResetValue() public method

Delegates to base.
public CanResetValue ( object component ) : bool
component object
return bool

DesignPropertyDescriptor() public method

Constructor. Copy the base property descriptor and also hold a pointer to it for calling its overridden abstract methods.
public DesignPropertyDescriptor ( PropertyDescriptor prop, ProjectNode projectManager ) : System
prop System.ComponentModel.PropertyDescriptor
projectManager ProjectNode
return System

GetEditor() public method

Delegates to base.
public GetEditor ( Type editorBaseType ) : object
editorBaseType System.Type
return object

GetTypeFromNameProperty() public method

Convert name to a Type object.
public GetTypeFromNameProperty ( string typeName ) : Type
typeName string
return System.Type

GetValue() public method

Delegates to base.
public GetValue ( object component ) : object
component object
return object

ResetValue() public method

Delegates to base.
public ResetValue ( object component ) : void
component object
return void

SetValue() public method

Delegates to base.
public SetValue ( object component, object value ) : void
component object
value object
return void

ShouldSerializeValue() public method

Delegates to base.
public ShouldSerializeValue ( object component ) : bool
component object
return bool