DependencyProperty Methods

The DependencyProperty type exposes the following members.

  NameDescription
Public method AddOwner Overloaded. Adds another type as an owner of a dependency property that has already been registered to a type.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
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 GetHashCode Returns a hash code for this DependencyProperty. (Overrides Object.GetHashCode().)
Public method GetMetadata Overloaded. Returns the metadata associated with this dependency property as it exists for a particular type. This can be the type where the dependency property was first registered, one to which it was added subsequently, or a type where the dependency property was obtained through inheritance but the metadata was specifically overridden.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IsValidType Determines whether a specified value is acceptable for this dependency property's type, as checked against the property type provided in the original dependency property registration.
Public method IsValidValue Determines whether the provided value is accepted for the type of property through basic type checking, and also potentially if it is within the allowed range of values for that type.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OverrideMetadata Overloaded. Supplies alternate metadata for this dependency property when it is present on instances of a specified type, versus the metadata that was provided in the initial dependency property registration.
Public method Static member Register Overloaded. Registers a dependency property.
Public method Static member RegisterAttached Overloaded. Registers an attached property with the property system.
Public method Static member RegisterAttachedReadOnly Overloaded. Registers a read-only attached property.
Public method Static member RegisterReadOnly Overloaded. Registers a dependency property as a read-only dependency property.
Public method ToString Returns the string representation of the dependency property. (Overrides Object.ToString().)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft