Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PropertyDescriptor Members

Provides an abstraction of a property on a class.

The PropertyDescriptor type exposes the following members.

  NameDescription
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework PropertyDescriptor Overloaded. Initializes a new instance of the PropertyDescriptor class.
Top
  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AddValueChanged Enables other objects to be notified when this property changes.
Public method Supported by the .NET Compact Framework 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 .NET Compact Framework 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 .NET Compact Framework Supported by the XNA Framework Equals Compares this to another object to see if they are equivalent. (Overrides MemberDescriptor.Equals(Object).)

In .NET Compact Framework 3.5, this member is inherited from Object.Equals(Object).


In XNA Framework 3.0, this member is inherited from Object.Equals(Object).
Protected method Supported by the .NET Compact Framework 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 .NET Compact Framework 3.5, this member is inherited from MemberDescriptor.FillAttributes(IList).


In XNA Framework 3.0, this member is inherited from MemberDescriptor.FillAttributes(IList).
Protected method Supported by the .NET Compact Framework 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 Overloaded. Returns a PropertyDescriptorCollection.
Public method GetEditor Gets an editor of the specified type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Returns the hash code for this object. (Overrides MemberDescriptor.GetHashCode().)

In .NET Compact Framework, this member is overridden by 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 .NET Compact Framework 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 .NET Compact Framework 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 .NET Compact Framework Supported by the XNA Framework GetValueChangedHandler Retrieves the current set of ValueChanged event handlers for a specific component
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnValueChanged Raises the ValueChanged event that you implemented.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework RemoveValueChanged Enables other objects to be notified when this property changes.
Public method Supported by the .NET Compact Framework 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 .NET Compact Framework 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 .NET Compact Framework 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 .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework AttributeArray Gets or sets an array of attributes. (Inherited from MemberDescriptor.)
Public property Attributes Gets the collection of attributes for this member. (Inherited from MemberDescriptor.)
Public property Category Gets the name of the category to which the member belongs, as specified in the CategoryAttribute. (Inherited from MemberDescriptor.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ComponentType When overridden in a derived class, gets the type of the component this property is bound to.
Public property Converter Gets the type converter for this property.
Public property Description Gets the description of the member, as specified in the DescriptionAttribute. (Inherited from MemberDescriptor.)
Public property DesignTimeOnly Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute. (Inherited from MemberDescriptor.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework DisplayName Gets the name that can be displayed in a window, such as a Properties window. (Inherited from MemberDescriptor.)
Public property IsBrowsable Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute. (Inherited from MemberDescriptor.)
Public property IsLocalizable Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsReadOnly When overridden in a derived class, gets a value indicating whether this property is read-only.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Name Gets the name of the member. (Inherited from MemberDescriptor.)
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework NameHashCode Gets the hash code for the name of the member, as specified in GetHashCode. (Inherited from MemberDescriptor.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PropertyType When overridden in a derived class, gets the type of the property.
Public property SerializationVisibility Gets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework SupportsChangeEvents Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.