Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DependencyObject Methods

(see also Protected Methods )
  Name Description
Public method CheckAccess  Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Public method ClearValue Overloaded. Clears the local value of a property.
Public method CoerceValue Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the property on this type.
Public method Equals Overloaded. Overridden. Determines whether a provided DependencyObject is equivalent to the current DependencyObject.
Public method GetHashCode Overridden. Gets a hash code for this DependencyObject.
Public method GetLocalValueEnumerator Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method GetValue Returns the current effective value of a dependency property on this instance of a DependencyObject.
Public method InvalidateProperty Re-evaluates the effective value for the specified dependency property
Public method ReadLocalValue Returns the local value of a dependency property, if it exists.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method SetValue Overloaded. Sets the local value of a dependency property.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method VerifyAccess  Enforces that the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)

  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)
Protected method OnPropertyChanged Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. The specific dependency property that changed is reported in the event data.
Protected method ShouldSerializeProperty Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.

Community Additions

© 2017 Microsoft