Bewerken

Delen via


DataGridBoundColumn.Binding Property

Definition

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

public:
 virtual property System::Windows::Data::BindingBase ^ Binding { System::Windows::Data::BindingBase ^ get(); void set(System::Windows::Data::BindingBase ^ value); };
public virtual System.Windows.Data.BindingBase Binding { get; set; }
member this.Binding : System.Windows.Data.BindingBase with get, set
Public Overridable Property Binding As BindingBase

Property Value

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

Remarks

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.

Applies to

See also