PropertyDescriptor Methods
.NET Framework 4.5
The PropertyDescriptor type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddValueChanged | Enables other objects to be notified when this property changes. |
|
CanResetValue | When overridden in a derived class, returns whether resetting an object changes its value. |
|
CreateAttributeCollection | Creates a collection of attributes using the array of attributes passed to the constructor. (Inherited from MemberDescriptor.) |
|
CreateInstance | Creates an instance of the specified type. |
|
Equals |
Compares this to another object to see if they are equivalent. (Overrides MemberDescriptor.Equals(Object).) In XNA Framework 3.0, this member is inherited from Object.Equals(Object). |
|
FillAttributes |
Adds the attributes of the PropertyDescriptor to the specified list of attributes in the parent class. (Overrides MemberDescriptor.FillAttributes(IList).) In XNA Framework 3.0, this member is inherited from MemberDescriptor.FillAttributes(IList). |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetChildProperties() | Returns the default PropertyDescriptorCollection. |
|
GetChildProperties(Attribute[]) | Returns a PropertyDescriptorCollection using a specified array of attributes as a filter. |
|
GetChildProperties(Object) | Returns a PropertyDescriptorCollection for a given object. |
|
GetChildProperties(Object, Attribute[]) | Returns a PropertyDescriptorCollection for a given object using a specified array of attributes as a filter. |
|
GetEditor | Gets an editor of the specified type. |
|
GetHashCode |
Returns the hash code for this object. (Overrides MemberDescriptor.GetHashCode().) In XNA Framework, this member is overridden by GetHashCode(). |
|
GetInvocationTarget | This method returns the object that should be used during invocation of members. (Overrides MemberDescriptor.GetInvocationTarget(Type, Object).) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
GetTypeFromName | Returns a type using its name. |
|
GetValue | When overridden in a derived class, gets the current value of the property on a component. |
|
GetValueChangedHandler | Retrieves the current set of ValueChanged event handlers for a specific component |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnValueChanged | Raises the ValueChanged event that you implemented. |
|
RemoveValueChanged | Enables other objects to be notified when this property changes. |
|
ResetValue | When overridden in a derived class, resets the value for this property of the component to the default value. |
|
SetValue | When overridden in a derived class, sets the value of the component to a different value. |
|
ShouldSerializeValue | When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |