FrameworkElement.GetBindingExpression(DependencyProperty) Method

Definition

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

Equivalent WinUI method: Microsoft.UI.Xaml.FrameworkElement.GetBindingExpression.

public:
 virtual BindingExpression ^ GetBindingExpression(DependencyProperty ^ dp) = GetBindingExpression;
BindingExpression GetBindingExpression(DependencyProperty const & dp);
public BindingExpression GetBindingExpression(DependencyProperty dp);
function getBindingExpression(dp)
Public Function GetBindingExpression (dp As DependencyProperty) As BindingExpression

Parameters

dp
DependencyProperty

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

Returns

BindingExpression

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

Applies to