FrameworkElementFactory.SetBinding(DependencyProperty, BindingBase) Метод

Определение

Задает привязку данных для свойства.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)

Параметры

dp
DependencyProperty

Определяет свойство, которому следует установить привязку.Identifies the property where the binding should be established.

binding
BindingBase

Описание привязки.Description of the binding.

Применяется к