Export (0) Print
Expand All

PropertyDescriptor Methods

The PropertyDescriptor type exposes the following members.

  Name Description
Public method Supported by the XNA Framework AddValueChanged Enables other objects to be notified when this property changes.
Public method Supported by the XNA Framework CanResetValue When overridden in a derived class, returns whether resetting an object changes its value.
Protected method Supported by the XNA Framework 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 Supported by the XNA Framework 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).


In  Windows Phone 8.1, this member is inherited from Object.Equals(Object).


In  Windows Phone Silverlight 8.1, this member is inherited from Object.Equals(Object).


In  Windows Phone Silverlight 8, this member is inherited from Object.Equals(Object).
Protected method Supported by the XNA Framework 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 Supported by the XNA Framework 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 Supported by the XNA Framework 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 Supported by the XNA Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetTypeFromName Returns a type using its name.
Public method Supported by the XNA Framework GetValue When overridden in a derived class, gets the current value of the property on a component.
Protected method Supported by the XNA Framework GetValueChangedHandler Retrieves the current set of ValueChanged event handlers for a specific component
Protected method Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the XNA Framework OnValueChanged Raises the ValueChanged event that you implemented.
Public method Supported by the XNA Framework RemoveValueChanged Enables other objects to be notified when this property changes.
Public method Supported by the XNA Framework ResetValue When overridden in a derived class, resets the value for this property of the component to the default value.
Public method Supported by the XNA Framework SetValue When overridden in a derived class, sets the value of the component to a different value.
Public method Supported by the XNA Framework ShouldSerializeValue When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
Public method Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2015 Microsoft