This documentation is archived and is not being maintained.

PropertyDescriptor Members

PropertyDescriptor overview

Public Properties

public propertyAttributes (inherited from MemberDescriptor) Gets the collection of attributes for this member.
public propertyCategory (inherited from MemberDescriptor) Gets the name of the category to which the member belongs, as specified in the CategoryAttribute.
public propertyComponentType

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the type of the component this property is bound to.
public propertyConverter Gets the type converter for this property.
public propertyDescription (inherited from MemberDescriptor) Gets the description of the member, as specified in the DescriptionAttribute.
public propertyDesignTimeOnly (inherited from MemberDescriptor) Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute.
public propertyDisplayName (inherited from MemberDescriptor)

Supported by the .NET Compact Framework.

Gets the name that can be displayed in a window, such as a Properties window.
public propertyIsBrowsable (inherited from MemberDescriptor) Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute.
public propertyIsLocalizable Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute.
public propertyIsReadOnly

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a value indicating whether this property is read-only.
public propertyName (inherited from MemberDescriptor)

Supported by the .NET Compact Framework.

Gets the name of the member.
public propertyPropertyType

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the type of the property.
public propertySerializationVisibility Gets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute.

Public Methods

public methodAddValueChanged

Supported by the .NET Compact Framework.

Enables other objects to be notified when this property changes.
public methodCanResetValue

Supported by the .NET Compact Framework.

When overridden in a derived class, returns whether resetting an object changes its value.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Compares this to another object to see if they are equivalent.
public methodGetChildProperties Overloaded. Returns a PropertyDescriptorCollection.
public methodGetEditor Gets an editor of the specified type.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. See Object.GetHashCode.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodGetValue

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the current value of the property on a component.
public methodRemoveValueChanged

Supported by the .NET Compact Framework.

Enables other objects to be notified when this property changes.
public methodResetValue

Supported by the .NET Compact Framework.

When overridden in a derived class, resets the value for this property of the component to the default value.
public methodSetValue

Supported by the .NET Compact Framework.

When overridden in a derived class, sets the value of the component to a different value.
public methodShouldSerializeValue

Supported by the .NET Compact Framework.

When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Constructors

protected constructorPropertyDescriptor Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the PropertyDescriptor class.

Protected Properties

protected propertyAttributeArray (inherited from MemberDescriptor) Gets or sets an array of attributes.
protected propertyNameHashCode (inherited from MemberDescriptor) Gets the hash code for the name of the member, as specified in GetHashCode.

Protected Methods

protected methodCreateAttributeCollection (inherited from MemberDescriptor)

Supported by the .NET Compact Framework.

Creates a collection of attributes using the array of attributes passed to the constructor.
protected methodCreateInstance Creates an instance of the specified type.
protected methodFillAttributes (inherited from MemberDescriptor)

Supported by the .NET Compact Framework.

When overridden in a derived class, adds the attributes of the inheriting class to the specified list of attributes in the parent class.
protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetTypeFromName Returns a type using its name.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodOnValueChanged

Supported by the .NET Compact Framework.

Raises the ValueChanged event that you implemented.

See Also

PropertyDescriptor Class | System.ComponentModel Namespace

Show: