Click or drag to resize
DependencyObjectSetBinding Method
Attaches a binding to a FrameworkElement, using the provided binding object.

Namespace: Windows.UI.Xaml
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public BindingExpression SetBinding(
	DependencyProperty dependencyProperty,
	Binding binding
)

Parameters

dependencyProperty
Type: Windows.UI.XamlDependencyProperty
The dependency property identifier of the property that is data bound.
binding
Type: Windows.UI.Xaml.DataBinding
The binding to use for the property.

Return Value

Type: BindingExpression
The BindingExpression created.
See Also