FrameworkElementFactory::SetBinding Method (DependencyProperty^, BindingBase^)

 

Sets up data binding on a property.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
void SetBinding(
	DependencyProperty^ dp,
	BindingBase^ binding
)

Parameters

dp
Type: System.Windows::DependencyProperty^

Identifies the property where the binding should be established.

binding
Type: System.Windows.Data::BindingBase^

Description of the binding.

.NET Framework
Available since 3.0
Return to top
Show: