Xaml
There are 1 entries for the tag
Xaml
Sometimes instead of binding to a property of the current DataContext you want to bind to the actual DataContext itself. For example, I am using DelegateCommand<T> from Composite Application Library and needed to bind a command to perform an action on the current item in a ListBox. <UserControl x:Name="ViewRoot">
<ListBox ItemSource="{Binding Path=MyCollection}">
<Button Content="Delete" cmd:Click.Command="{Binding ElementName=ViewRoot, Path=DataContext.Delete}
cmd:Click.CommandParameter={??????}...