C# Class VsTeXProject.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
Afficher le fichier Open project: mimura1133/vstex

Méthodes publiques

Méthode Description
CanResetValue ( object component ) : bool

Delegates to base.

DesignPropertyDescriptor ( PropertyDescriptor prop ) : 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 méthode

Delegates to base.
public CanResetValue ( object component ) : bool
component object
Résultat bool

DesignPropertyDescriptor() public méthode

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

GetEditor() public méthode

Delegates to base.
public GetEditor ( Type editorBaseType ) : object
editorBaseType System.Type
Résultat object

GetTypeFromNameProperty() public méthode

Convert name to a Type object.
public GetTypeFromNameProperty ( string typeName ) : Type
typeName string
Résultat System.Type

GetValue() public méthode

Delegates to base.
public GetValue ( object component ) : object
component object
Résultat object

ResetValue() public méthode

Delegates to base.
public ResetValue ( object component ) : void
component object
Résultat void

SetValue() public méthode

Delegates to base.
public SetValue ( object component, object value ) : void
component object
value object
Résultat void

ShouldSerializeValue() public méthode

Delegates to base.
public ShouldSerializeValue ( object component ) : bool
component object
Résultat bool