This topic has not yet been rated - Rate this topic

PropertyDescriptor Methods

The PropertyDescriptor type exposes the following members.

  NameDescription
Public method AddValueChanged Enables other objects to be notified when this property changes.
Public method CanResetValue When overridden in a derived class, returns whether resetting an object changes its value.
Protected method CreateAttributeCollection Creates a collection of attributes using the array of attributes passed to the constructor. (Inherited from MemberDescriptor.)
Protected method CreateInstance Creates an instance of the specified type.
Public method 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).
Protected method 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).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetChildProperties() Returns the default PropertyDescriptorCollection.
Public method GetChildProperties(Attribute[]) Returns a PropertyDescriptorCollection using a specified array of attributes as a filter.
Public method GetChildProperties(Object) Returns a PropertyDescriptorCollection for a given object.
Public method GetChildProperties(Object, Attribute[]) Returns a PropertyDescriptorCollection for a given object using a specified array of attributes as a filter.
Public method GetEditor Gets an editor of the specified type.
Public method GetHashCode Returns the hash code for this object. (Overrides MemberDescriptor.GetHashCode().)

In XNA Framework, this member is overridden by GetHashCode().
Protected method GetInvocationTarget This method returns the object that should be used during invocation of members. (Overrides MemberDescriptor.GetInvocationTarget(Type, Object).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetTypeFromName Returns a type using its name.
Public method GetValue When overridden in a derived class, gets the current value of the property on a component.
Protected method GetValueChangedHandler Retrieves the current set of ValueChanged event handlers for a specific component
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnValueChanged Raises the ValueChanged event that you implemented.
Public method RemoveValueChanged Enables other objects to be notified when this property changes.
Public method ResetValue When overridden in a derived class, resets the value for this property of the component to the default value.
Public method SetValue When overridden in a derived class, sets the value of the component to a different value.
Public method ShouldSerializeValue When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.