I want to do the following which I can do with most of the itemcollections in the ms toolbox.
I want to be able to bind a custom property on an object to the SelectedProperty of a row in a gridview. The result would be that you could select multiple rows in a gridview and then each of the objects in the list that the Grid was bound to would have their IsSelectedProperty set to true.
Example of TreeView:
So each TreeViewItem IsSelected property is bound to the bound objects IsSelectedProperty.
<
Style x:Key="{x:Type TreeViewItem}" TargetType="{x:Type TreeViewItem}">
<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
....
....
</Style>
Is this possible with the GridView?
Thanks,