DataGridBoundColumn.Binding Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the binding that associates the column with a property in the data source.

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

public virtual BindingBase Binding { get; set; }

Property Value

Type: System.Windows.Data.BindingBase

The object that represents the data binding for the column. The default is null.

The Binding property allows a column to specify a property of the data grid's ItemsSource to bind to. For more information about binding paths, see the "Binding Path Syntax" section in Binding Declarations Overview.

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show: