FrameworkElement.GetBindingExpression(DependencyProperty) FrameworkElement.GetBindingExpression(DependencyProperty) FrameworkElement.GetBindingExpression(DependencyProperty) FrameworkElement.GetBindingExpression(DependencyProperty) Method

Definition

Returns the BindingExpression that represents the binding on the specified property.

public : BindingExpression GetBindingExpression(DependencyProperty dp)
BindingExpression GetBindingExpression(DependencyProperty dp) const;
public BindingExpression GetBindingExpression(DependencyProperty dp)
Public Function GetBindingExpression(dp As DependencyProperty) As BindingExpression

Parameters

dp
DependencyProperty DependencyProperty

The identifier for the target dependency property to get the binding from.

Returns

A BindingExpression if the target property has an active binding on this object; otherwise, returns null.