DataFieldBinding not exists in V1! How to bind?

Oct 29, 2008 at 7:52 AM
Hi! In V1 DataGrid  property 'DataFieldBinding' was not found in type 'DataGridTextColumn'. How bind now?

Oct 29, 2008 at 8:16 AM
answer in http://windowsclient.net/wpf/wpf35/wpf-35sp1-toolkit-datagrid-feature-walkthrough.aspx
Oct 29, 2008 at 9:23 PM
You might use property Binding instead.

Binding

="{Binding Path=Premium}"

 

Coordinator
Oct 29, 2008 at 11:40 PM
Yes, we changed the name of the DataFieldBinding property to Binding on most of the columns, and on some (such as DataGridComboBoxColumn), we added multiple binding properties (SelectedItemBinding, SelectedValueBinding, etc.).
Oct 30, 2008 at 10:46 AM
Thank you! Where find info about DataGridComboBoxColumn? And how and in which case use   SelectedItemBinding or     SelectedValueBinding?

Oct 30, 2008 at 10:54 AM
And that about DatePicker. Why

wrong code (don't modified data!!!)

<DataTemplate>
<dg:DatePicker SelectedDate="{Binding Date}" SelectedDateFormat="Short" />
</DataTemplate>

and  right code
<DataTemplate>
<dg:DatePicker SelectedDate="{Binding Path=Date, Mode=TwoWay}" SelectedDateFormat="Short" />
</DataTemplate>