This topic has not yet been rated - Rate this topic

DependencyPropertyDescriptor Methods

The DependencyPropertyDescriptor type exposes the following members.

  Name Description
Public method AddValueChanged Enables other objects to be notified when this property changes. (Overrides PropertyDescriptor.AddValueChanged(Object, EventHandler).)
Public method CanResetValue Returns whether resetting an object changes its value. (Overrides PropertyDescriptor.CanResetValue(Object).)
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. (Inherited from PropertyDescriptor.)
Public method Equals Compares two DependencyPropertyDescriptor instances for equality. (Overrides PropertyDescriptor.Equals(Object).)
Protected method FillAttributes Adds the attributes of the PropertyDescriptor to the specified list of attributes in the parent class. (Inherited from PropertyDescriptor.)
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 Static member FromName(String, Type, Type) Returns a DependencyPropertyDescriptor for a provided property name.
Public method Static member FromName(String, Type, Type, Boolean) Returns a DependencyPropertyDescriptor for a provided property name.
Public method Static member FromProperty(PropertyDescriptor) Returns a DependencyPropertyDescriptor for a provided PropertyDescriptor.
Public method Static member FromProperty(DependencyProperty, Type) Returns a DependencyPropertyDescriptor for a provided dependency property and target type.
Public method GetChildProperties() Returns the default PropertyDescriptorCollection. (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Attribute[]) Returns a PropertyDescriptorCollection using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Object) Returns a PropertyDescriptorCollection for a given object. (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Object, Attribute[]) Returns a PropertyDescriptorCollection. (Overrides PropertyDescriptor.GetChildProperties(Object, Attribute[]).)
Public method GetEditor Gets an editor of the specified type. (Overrides PropertyDescriptor.GetEditor(Type).)
Public method GetHashCode Returns the hash code for this DependencyPropertyDescriptor. (Overrides PropertyDescriptor.GetHashCode().)
Protected method GetInvocationTarget This method returns the object that should be used during invocation of members. (Inherited from PropertyDescriptor.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetTypeFromName Returns a type using its name. (Inherited from PropertyDescriptor.)
Public method GetValue Resturns the current value of the property on a component. (Overrides PropertyDescriptor.GetValue(Object).)
Protected method GetValueChangedHandler Retrieves the current set of ValueChanged event handlers for a specific component (Inherited from PropertyDescriptor.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnValueChanged Raises the ValueChanged event that you implemented. (Inherited from PropertyDescriptor.)
Public method RemoveValueChanged Enables other objects to be notified when this property changes. (Overrides PropertyDescriptor.RemoveValueChanged(Object, EventHandler).)
Public method ResetValue Resets the value for this property of the component to the default value. (Overrides PropertyDescriptor.ResetValue(Object).)
Public method SetValue Sets the value of the component to a different value. (Overrides PropertyDescriptor.SetValue(Object, Object).)
Public method ShouldSerializeValue Indicates whether the value of this property needs to be persisted by serialization processes. (Overrides PropertyDescriptor.ShouldSerializeValue(Object).)
Public method ToString Converts the value of this instance to its equivalent string representation. (Overrides Object.ToString().)
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ