So, I've used the following code to create a GroupView that binds to an ObservableCollection. What I want to do is associate the GroupViewItemDragStartCommand.Command with the items in the GroupView. As you can appreciate, you can't associate GroupViewItemDragStartCommand.Command with the style, so does anyone have any suggestions on associating this?
DKDinesh Kumar P Syncfusion Team April 19, 2013 06:39 AM UTC
Sorry for the delay.
We can set 'GroupViewItemDragStartCommand.Command' in the Setter by binding a command with that. We have created a simple sample which can be download attached with this forum. In the sample, we have binded GroupView with an ObservableCollection and associated 'GroupViewItemDragStartCommand' in the ItemContainerStyle of GroupView control. Whenever 'DragStart' occurs 'ExecuteDragStart()' in Model class would get fired.