Returns the local value of a dependency property, if a local value is set.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function ReadLocalValue( _
ByVal dp As System.Windows.DependencyProperty _
) As System.Object |
| C# | |
|---|
public System.object ReadLocalValue(
System.Windows.DependencyProperty dp
) |
Parameters
- dp
- The System.Windows.DependencyProperty identifier of the property to retrieve the local value for.
Return Value
Returns the local value, or returns the sentinel value
System.Windows.DependencyProperty.UnsetValue if no local value is set.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also