TypeConverter::SimplePropertyDescriptor Class

 

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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

System::Object
  System.ComponentModel::MemberDescriptor
    System.ComponentModel::PropertyDescriptor
      System.ComponentModel::TypeConverter::SimplePropertyDescriptor

protected ref class SimplePropertyDescriptor abstract : PropertyDescriptor

NameDescription
System_CAPS_protmethodTypeConverter::SimplePropertyDescriptor(Type^, String^, Type^)

Initializes a new instance of the TypeConverter::SimplePropertyDescriptor class.

System_CAPS_protmethodTypeConverter::SimplePropertyDescriptor(Type^, String^, Type^, array<Attribute^>^)

Initializes a new instance of the TypeConverter::SimplePropertyDescriptor class.

NameDescription
System_CAPS_protpropertyAttributeArray

Gets or sets an array of attributes.(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyAttributes

Gets the collection of attributes for this member.(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyCategory

Gets the name of the category to which the member belongs, as specified in the CategoryAttribute.(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyComponentType

Gets the type of component to which this property description binds.(Overrides PropertyDescriptor::ComponentType.)

System_CAPS_pubpropertyConverter

Gets the type converter for this property.(Inherited from PropertyDescriptor.)

System_CAPS_pubpropertyDescription

Gets the description of the member, as specified in the DescriptionAttribute.(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyDesignTimeOnly

Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute.(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyDisplayName

Gets the name that can be displayed in a window, such as a Properties window.(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyIsBrowsable

Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute.(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyIsLocalizable

Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute.(Inherited from PropertyDescriptor.)

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether this property is read-only.(Overrides PropertyDescriptor::IsReadOnly.)

System_CAPS_pubpropertyName

Gets the name of the member.(Inherited from MemberDescriptor.)

System_CAPS_protpropertyNameHashCode

Gets the hash code for the name of the member, as specified in GetHashCode.(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyPropertyType

Gets the type of the property.(Overrides PropertyDescriptor::PropertyType.)

System_CAPS_pubpropertySerializationVisibility

Gets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute.(Inherited from PropertyDescriptor.)

System_CAPS_pubpropertySupportsChangeEvents

Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor.(Inherited from PropertyDescriptor.)

NameDescription
System_CAPS_pubmethodAddValueChanged(Object^, EventHandler^)

Enables other objects to be notified when this property changes.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodCanResetValue(Object^)

Returns whether resetting the component changes the value of the component.(Overrides PropertyDescriptor::CanResetValue(Object^).)

System_CAPS_protmethodCreateAttributeCollection()

Creates a collection of attributes using the array of attributes passed to the constructor.(Inherited from MemberDescriptor.)

System_CAPS_protmethodCreateInstance(Type^)

Creates an instance of the specified type.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodEquals(Object^)

Compares this to another object to see if they are equivalent.(Inherited from PropertyDescriptor.)

System_CAPS_protmethodFillAttributes(IList^)

Adds the attributes of the PropertyDescriptor to the specified list of attributes in the parent class.(Inherited from PropertyDescriptor.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetChildProperties()

Returns the default PropertyDescriptorCollection.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetChildProperties(array<Attribute^>^)

Returns a PropertyDescriptorCollection using a specified array of attributes as a filter.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetChildProperties(Object^)

Returns a PropertyDescriptorCollection for a given object.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetChildProperties(Object^, array<Attribute^>^)

Returns a PropertyDescriptorCollection for a given object using a specified array of attributes as a filter.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetEditor(Type^)

Gets an editor of the specified type.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this object.(Inherited from PropertyDescriptor.)

System_CAPS_protmethodGetInvocationTarget(Type^, Object^)

This method returns the object that should be used during invocation of members.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodGetTypeFromName(String^)

Returns a type using its name.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetValue(Object^)

When overridden in a derived class, gets the current value of the property on a component.(Inherited from PropertyDescriptor.)

System_CAPS_protmethodGetValueChangedHandler(Object^)

Retrieves the current set of ValueChanged event handlers for a specific component(Inherited from PropertyDescriptor.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnValueChanged(Object^, EventArgs^)

Raises the ValueChanged event that you implemented.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodRemoveValueChanged(Object^, EventHandler^)

Enables other objects to be notified when this property changes.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodResetValue(Object^)

Resets the value for this property of the component.(Overrides PropertyDescriptor::ResetValue(Object^).)

System_CAPS_pubmethodSetValue(Object^, Object^)

When overridden in a derived class, sets the value of the component to a different value.(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodShouldSerializeValue(Object^)

Returns whether the value of this property can persist.(Overrides PropertyDescriptor::ShouldSerializeValue(Object^).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Notes to Inheritors:

When you inherit from TypeConverter::SimplePropertyDescriptor, you must override the GetValue and SetValue methods.

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

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: