Skip to main content
.NET Framework Class Library
TypeConverterSimplePropertyDescriptor Class

Represents an abstract class that provides properties for objects that do not have properties.

Inheritance Hierarchy
SystemObject
   System.ComponentModelMemberDescriptor
     System.ComponentModelPropertyDescriptor
      System.ComponentModelTypeConverterSimplePropertyDescriptor

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)
Syntax
Protected MustInherit Class SimplePropertyDescriptor _
	Inherits [%$TOPIC/dd3w20th_en-us_VS_110_2_0_0_0_0%]
protected abstract class SimplePropertyDescriptor : [%$TOPIC/dd3w20th_en-us_VS_110_2_0_1_0_0%]
protected ref class SimplePropertyDescriptor abstract : public [%$TOPIC/dd3w20th_en-us_VS_110_2_0_2_0_0%]
[<[%$TOPIC/dd3w20th_en-us_VS_110_2_0_3_0_0%]>]
type SimplePropertyDescriptor =  
    class 
        inherit [%$TOPIC/dd3w20th_en-us_VS_110_2_0_3_0_1%] 
    end

The TypeConverterSimplePropertyDescriptor type exposes the following members.

Constructors
  NameDescription
Protected method TypeConverterSimplePropertyDescriptor(Type, String, Type)Initializes a new instance of the TypeConverterSimplePropertyDescriptor class.
Protected method TypeConverterSimplePropertyDescriptor(Type, String, Type, Attribute)Initializes a new instance of the TypeConverterSimplePropertyDescriptor class.
Top
Properties
  NameDescription
Protected property AttributeArrayGets or sets an array of attributes. (Inherited from MemberDescriptor.)
Public property AttributesGets the collection of attributes for this member. (Inherited from MemberDescriptor.)
Public property CategoryGets the name of the category to which the member belongs, as specified in the CategoryAttribute. (Inherited from MemberDescriptor.)
Public property ComponentTypeGets the type of component to which this property description binds. (Overrides PropertyDescriptorComponentType.)
Public property ConverterGets the type converter for this property. (Inherited from PropertyDescriptor.)
Public property DescriptionGets the description of the member, as specified in the DescriptionAttribute. (Inherited from MemberDescriptor.)
Public property DesignTimeOnlyGets whether this member should be set only at design time, as specified in the DesignOnlyAttribute. (Inherited from MemberDescriptor.)
Public property DisplayNameGets the name that can be displayed in a window, such as a Properties window. (Inherited from MemberDescriptor.)
Public property IsBrowsableGets a value indicating whether the member is browsable, as specified in the BrowsableAttribute. (Inherited from MemberDescriptor.)
Public property IsLocalizableGets a value indicating whether this property should be localized, as specified in the LocalizableAttribute. (Inherited from PropertyDescriptor.)
Public property IsReadOnlyGets a value indicating whether this property is read-only. (Overrides PropertyDescriptorIsReadOnly.)
Public property NameGets the name of the member. (Inherited from MemberDescriptor.)
Protected property NameHashCodeGets the hash code for the name of the member, as specified in GetHashCode. (Inherited from MemberDescriptor.)
Public property PropertyTypeGets the type of the property. (Overrides PropertyDescriptorPropertyType.)
Public property SerializationVisibilityGets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute. (Inherited from PropertyDescriptor.)
Public property SupportsChangeEventsGets a value indicating whether value change notifications for this property may originate from outside the property descriptor. (Inherited from PropertyDescriptor.)
Top
Methods
  NameDescription
Public method AddValueChangedEnables other objects to be notified when this property changes. (Inherited from PropertyDescriptor.)
Public method CanResetValueReturns whether resetting the component changes the value of the component. (Overrides PropertyDescriptorCanResetValue(Object).)
Protected method CreateAttributeCollectionCreates a collection of attributes using the array of attributes passed to the constructor. (Inherited from MemberDescriptor.)
Protected method CreateInstanceCreates an instance of the specified type. (Inherited from PropertyDescriptor.)
Public method EqualsCompares this to another object to see if they are equivalent. (Inherited from PropertyDescriptor.)
Protected method FillAttributesAdds the attributes of the PropertyDescriptor to the specified list of attributes in the parent class. (Inherited from PropertyDescriptor.)
Protected method FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetChildPropertiesReturns the default PropertyDescriptorCollection. (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Attribute)Returns a PropertyDescriptorCollection using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Object)Returns a PropertyDescriptorCollection for a given object. (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Object, Attribute)Returns a PropertyDescriptorCollection for a given object using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.)
Public method GetEditorGets an editor of the specified type. (Inherited from PropertyDescriptor.)
Public method GetHashCodeReturns the hash code for this object. (Inherited from PropertyDescriptor.)
Protected method GetInvocationTargetThis method returns the object that should be used during invocation of members. (Inherited from PropertyDescriptor.)
Public method GetTypeGets the Type of the current instance. (Inherited from Object.)
Protected method GetTypeFromNameReturns a type using its name. (Inherited from PropertyDescriptor.)
Public method GetValueWhen overridden in a derived class, gets the current value of the property on a component. (Inherited from PropertyDescriptor.)
Protected method GetValueChangedHandlerRetrieves the current set of ValueChanged event handlers for a specific component (Inherited from PropertyDescriptor.)
Protected method MemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnValueChangedRaises the ValueChanged event that you implemented. (Inherited from PropertyDescriptor.)
Public method RemoveValueChangedEnables other objects to be notified when this property changes. (Inherited from PropertyDescriptor.)
Public method ResetValueResets the value for this property of the component. (Overrides PropertyDescriptorResetValue(Object).)
Public method SetValueWhen overridden in a derived class, sets the value of the component to a different value. (Inherited from PropertyDescriptor.)
Public method ShouldSerializeValueReturns whether the value of this property can persist. (Overrides PropertyDescriptorShouldSerializeValue(Object).)
Public method ToStringReturns a string that represents the current object. (Inherited from Object.)
Top
Remarks

Notes to Inheritors

When you inherit from TypeConverterSimplePropertyDescriptor, you must override the GetValue and SetValue methods.

Examples

For an example on this class, see the example in PropertyDescriptor.

Version Information

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Platforms

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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.