DependencyObject.ReadLocalValue(DependencyProperty) DependencyObject.ReadLocalValue(DependencyProperty) DependencyObject.ReadLocalValue(DependencyProperty) DependencyObject.ReadLocalValue(DependencyProperty) Method

Definition

Returns the local value of a dependency property, if a local value is set.

public : Platform::Object ReadLocalValue(DependencyProperty dp)
winrt::Windows::Foundation::IInspectable ReadLocalValue(DependencyProperty dp) const;
public object ReadLocalValue(DependencyProperty dp)
Public Function ReadLocalValue(dp As DependencyProperty) As object
Parameters
dp
DependencyProperty DependencyProperty

The DependencyProperty identifier of the property for which to retrieve the local value.

Returns
object object

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.

See Also