Aracılığıyla paylaş


DependencyObject.ReadLocalValue(DependencyProperty) Method

Definition

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

dp
DependencyProperty

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

Returns

Object

Platform::Object

IInspectable

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.

Applies to

See also