Represents an object that participates in the dependency property system.
Assembly: WindowsBase (in WindowsBase.dll)
Gets the DependencyObjectType that wraps the CLR type of this instance.
Gets a value that indicates whether this instance is currently sealed (read-only).
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey.
Determines whether a provided Object.Equals(Object).)is equivalent to the current .(Overrides
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Gets a hash code for this Object.GetHashCode().).(Overrides
Creates a specialized enumerator for determining which dependency properties have locally set values on this.
Returns the current effective value of a on this instance of a GTMT.
Re-evaluates the effective value for the specified dependency property
Invoked whenever the effective value of any on this GTMThas been updated. The specific dependency property that changed is reported in the event data.
Returns the local value of a , if it exists. GTMT
Sets the value of a without changing its value source. GTMT
Sets the local value of a , specified by its dependency property identifier. GTMT
Returns a value that indicates whether serialization processes should serialize the value for the provided .GTMT
Returns a string that represents the current object.(Inherited from Object.)
Theclass enables Windows Presentation Foundation (WPF) property system services on its many derived classes.
The property system's primary function is to compute the values of properties, and to provide system notification about values that have changed. Another key class that participates in the property system is DependencyProperty. DependencyProperty enables the registration of dependency properties into the property system, and provides identification and information about each dependency property, whereas as a base class enables objects to use the dependency properties.
services and characteristics include the following:
Dependency property hosting support. You register a dependency property by calling the Register method, and storing the method's return value as a public static field in your class.
Attached property hosting support. You register an attached property by calling the RegisterAttached method, and storing the method's return value as a public static read-only field in your class. (There are also additional member requirements; note that this represents a WPF specific implementation for attached properties. For details, see Attached Properties Overview.) Your attached property can then be set on any class that derives from .
Get, set, and clear utility methods for values of any dependency properties that exist on the.
Metadata, coerce value support, property changed notification, and override callbacks for dependency properties or attached properties. Also, theclass facilitates the per-owner property metadata for a dependency property.
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.