FrameworkElement.GetBindingExpression method

Applies to Windows and Windows Phone

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

Syntax


public BindingExpression GetBindingExpression(
  DependencyProperty dp
)

Parameters

dp

Type: DependencyProperty

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

Return value

Type: BindingExpression

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

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

FrameworkElement

 

 

Show:
© 2014 Microsoft