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

DependencyProperty Members

Represents a dependency property that is registered with the Windows Presentation Foundation (WPF) property system. Dependency properties provide support for value expressions, property invalidation and dependent-value coercion, default values, inheritance, data binding, animation, property change notification, and styling.

The following tables list the members exposed by the DependencyProperty type.

  Name Description
Public field Static UnsetValue Specifies a static value that is used by the property system rather than a null reference (Nothing in Visual Basic) to indicate that the property exists, but does not have its value set by the property system.
Top
  Name Description
Public property DefaultMetadata Gets the default metadata of the dependency property. The default metadata is the property metadata that is available to any DependencyObject or a derived type in the event that no specific metadata was supplied by an explicit Register or OverrideMetadata call.
Public property GlobalIndex Gets an internally generated value that uniquely identifies the dependency property.
Public property Name Gets the name of the dependency property.
Public property OwnerType Gets the type of the object that registered the dependency property with the property system, or added itself as owner of the property.
Public property PropertyType Gets the type that the dependency property uses for its value.
Public property ReadOnly Gets a value that indicates whether the dependency property identified by this DependencyProperty instance is a read-only dependency property.
Public property ValidateValueCallback Gets the value validation callback for the dependency property.
Top
(see also Protected Methods )
  Name Description
Public method AddOwner Overloaded. Adds another type as an owner of a dependency property that has already been registered.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode Overridden. Returns a hash code for this DependencyProperty.
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, and also if it is within the allowed range of values for that type, as specified by any ValidateValueCallback provided in the dependency property registration.
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 ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static Register Overloaded. Registers a dependency property.
Public method Static RegisterAttached Overloaded. Registers an attached property with the property system.
Public method Static RegisterAttachedReadOnly Overloaded. Registers a read-only attached property.
Public method Static RegisterReadOnly Overloaded. Registers a dependency property as a read-only dependency property.
Public method ToString Overridden. Returns the string representation of the dependency property.
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of 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.