what are these? I am confused with the extra properties in “Binding”
{Binding Path=Customers, Source={StaticResource customerVM}, Mode=TwoWay}
{Binding Path=GetCustomersByNameCommand, Source={StaticResource customerVM}}
{Binding Path=Text, ElementName=tbName}
{Binding Path=DataContext, ElementName=LayoutRoot}
{Binding Path=TotalIncome, Mode=OneTime}
and more of those. What are those? I mean, where are they getting the Mode, Path, etc.. I don’t understand.
The only thing I can understand is
{Binding ProperyName}
{StaticResource Anythinghere}
Binding in XAML can be specified in many ways.
The simplest (shortcut) is
This is equivalent to
This is equivalent to:
Bindingis actually a class with various properties such as Path, Source, Mode, etc.More details on how to bind data in WPF can be found at : http://msdn.microsoft.com/en-us/magazine/cc163299.aspx#S2