DesignPropertyDescriptor DesignPropertyDescriptor DesignPropertyDescriptor DesignPropertyDescriptor Class

Definition

A specialization of PropertyDescriptor that allows customization of the display name of the property in the property grid.

public ref class DesignPropertyDescriptor : System::ComponentModel::PropertyDescriptor
public class DesignPropertyDescriptor : System.ComponentModel.PropertyDescriptor
type DesignPropertyDescriptor = class
    inherit PropertyDescriptor
Public Class DesignPropertyDescriptor
Inherits PropertyDescriptor
Inheritance
DesignPropertyDescriptorDesignPropertyDescriptorDesignPropertyDescriptorDesignPropertyDescriptor

Constructors

DesignPropertyDescriptor(PropertyDescriptor) DesignPropertyDescriptor(PropertyDescriptor) DesignPropertyDescriptor(PropertyDescriptor) DesignPropertyDescriptor(PropertyDescriptor)

Initializes a new instance of DesignPropertyDescriptor for the specified property descriptor.

Properties

ComponentType ComponentType ComponentType ComponentType

Gets the component type.

Converter Converter Converter Converter

Gets the type converter for the property.

DisplayName DisplayName DisplayName DisplayName

Gets the display name for this property.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets whether or not the property is read-only.

PropertyType PropertyType PropertyType PropertyType

Gets the type of the property.

Methods

CanResetValue(Object) CanResetValue(Object) CanResetValue(Object) CanResetValue(Object)

Determines whether or not resetting the object changes its value.

GetEditor(Type) GetEditor(Type) GetEditor(Type) GetEditor(Type)

Gets an editor of the specified type.

GetTypeFromNameProperty(String) GetTypeFromNameProperty(String) GetTypeFromNameProperty(String) GetTypeFromNameProperty(String)

Converts the name to a Type.

GetValue(Object) GetValue(Object) GetValue(Object) GetValue(Object)

Gets the value of the property.

ResetValue(Object) ResetValue(Object) ResetValue(Object) ResetValue(Object)

Resets the value to the default value.

SetValue(Object, Object) SetValue(Object, Object) SetValue(Object, Object) SetValue(Object, Object)

Sets the value of the property to the specified value.

ShouldSerializeValue(Object) ShouldSerializeValue(Object) ShouldSerializeValue(Object) ShouldSerializeValue(Object)

Determines whether or not the property's value should be persisted.

Applies to