DependencyObject.ReadLocalValue(DependencyProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the local value of a dependency property, if a local value is set.
public:
virtual Platform::Object ^ ReadLocalValue(DependencyProperty ^ dp) = ReadLocalValue;
IInspectable ReadLocalValue(DependencyProperty const& dp);
public object ReadLocalValue(DependencyProperty dp);
function readLocalValue(dp)
Public Function ReadLocalValue (dp As DependencyProperty) As Object
Parameters
The DependencyProperty identifier of the property for which to retrieve the local value.
Returns
Returns the local value, or returns the sentinel value UnsetValue if no local value is set.
Remarks
The local value is not always the effective value. For more info, see Dependency properties overview.