DependencyPropertyHelper.GetValueSource Method
Assembly: PresentationFramework (in presentationframework.dll)
'Declaration Public Shared Function GetValueSource ( _ dependencyObject As DependencyObject, _ dependencyProperty As DependencyProperty _ ) As ValueSource 'Usage Dim dependencyObject As DependencyObject Dim dependencyProperty As DependencyProperty Dim returnValue As ValueSource returnValue = DependencyPropertyHelper.GetValueSource(dependencyObject, dependencyProperty)
public static ValueSource GetValueSource ( DependencyObject dependencyObject, DependencyProperty dependencyProperty )
public static function GetValueSource ( dependencyObject : DependencyObject, dependencyProperty : DependencyProperty ) : ValueSource
You cannot use methods in XAML.
Parameters
- dependencyObject
The element that contains the dependencyProperty to report information for.
- dependencyProperty
The identifier for the dependency property to report information for.
Return Value
A ValueSource structure that reports the specific information.You should call this method in a context such that late participants in property value determination are able to act on a property. For instance, bindings may not be active on a property unless all participant elements in the element tree are loaded and the asynchronous binding is propagated, and the binding source object is connected. Similarly, resources including all necessary theme dictionaries should be available.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.