Edit

Share via


FrameworkElementFactory.SetBinding(DependencyProperty, BindingBase) Method

Definition

Sets up data binding on a property.

public:
 void SetBinding(System::Windows::DependencyProperty ^ dp, System::Windows::Data::BindingBase ^ binding);
public void SetBinding (System.Windows.DependencyProperty dp, System.Windows.Data.BindingBase binding);
member this.SetBinding : System.Windows.DependencyProperty * System.Windows.Data.BindingBase -> unit
Public Sub SetBinding (dp As DependencyProperty, binding As BindingBase)

Parameters

dp
DependencyProperty

Identifies the property where the binding should be established.

binding
BindingBase

Description of the binding.

Applies to