Method wpfBuilder.Bind(+ 3 overloads)
Overload
Calls System.Windows.FrameworkElement.SetBinding of the last added element.
public wpfBuilder Bind(DependencyProperty property, string path)
Parameters
property (DependencyProperty)
Element's dependency property, for example |
path (string)
Source property name or path, for example |
Returns
Overload(next)
Calls System.Windows.FrameworkElement.SetBinding of the last added element.
public wpfBuilder Bind(DependencyProperty property, BindingBase binding)
Parameters
property (DependencyProperty)
Element's dependency property, for example |
binding (BindingBase)
A binding object, for example |
Returns
Overload(next)
Calls System.Windows.FrameworkElement.SetBinding of the last added element and gets its return value.
public wpfBuilder Bind(DependencyProperty property, BindingBase binding, out BindingExpressionBase r)
Parameters
property (DependencyProperty)
Element's dependency property, for example |
binding (BindingBase)
A binding object. |
r (BindingExpressionBase)
The return value of SetBinding. |
Returns
Overload(top)
Calls System.Windows.FrameworkElement.SetBinding of the last added element. Creates System.Windows.Data.Binding that uses source and path.
public wpfBuilder Bind(DependencyProperty property, object source, string path)
Parameters
property (DependencyProperty)
Element's dependency property, for example |
source (object)
Data source object. |
path (string)
Source property name or path, for example |