Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

DataGrid.SetBinding Method

.NET Framework 4.6 and 4.5

Attaches a binding to this element for the specified dependency property.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method SetBinding(DependencyProperty, String) Attaches a binding to this element, based on the provided source property name as a path qualification to the data source. (Inherited from FrameworkElement.)
Public method SetBinding(DependencyProperty, BindingBase) Attaches a binding to this element, based on the provided binding object. (Inherited from FrameworkElement.)
Top
Show:
© 2015 Microsoft