ramnz
ramnz

Reputation: 631

XAML datasource

HI:is any difference on these statements (performance or any other issues) are they both allright? having a datagrid datasource the PhoneNumbers is a collection DataSource="datasource.PhoneNumbers" or DataSource="{Binding Path=PhoneNumbers}"

thanks for your help

Upvotes: 0

Views: 629

Answers (1)

Peter van Kekem
Peter van Kekem

Reputation: 1447

The first actually set the value of DataSource. The second Binds the value, which works like a reference relation.

Upvotes: 1

Related Questions