Retrieves the
System.Windows.Data.BindingExpression for a dependency property where a binding is established.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function GetBindingExpression( _
ByVal dp As System.Windows.DependencyProperty _
) As System.Windows.Data.BindingExpression |
| C# | |
|---|
public System.Windows.Data.BindingExpression GetBindingExpression(
System.Windows.DependencyProperty dp
) |
Parameters
- dp
- The dependency property identifier for the specific property on this System.Windows.FrameworkElement where you want to obtain the System.Windows.Data.BindingExpression.
Return Value
A
System.Windows.Data.BindingExpression for the binding, if the local value represented a data-bound value. May return null if the property is not a data-bound value.
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