Code snippet example of how to use the new behavioral attached properties:


<controls:DataGrid ItemsSource="{StaticResource list}"
AutoGenerateColumns="True"
SelectionMode="Extended"
themes:DataGridHelper.HorizontalMouseWheelScrollingEnabled="True"
themes:DataGridHelper.SelectedCells="{Binding Path=myViewModelSourceList, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 

/> 


Last edited Jan 23, 2011 at 2:44 PM by TWebster, version 1

Comments

TWebster Feb 23, 2011 at 11:59 PM 
Hi giddy, you're welcome. I'm glad you and others find the project helpful. I will add some documentation for this. For now, if you download the simple demo project that comes with the source code, you will see that you simply have to reference the themes project, and set one of your project's ResourceDictionaries to point to one from the themes project. Just look in the project's App.xaml and you'll see.

giddy Feb 21, 2011 at 8:15 AM 
hi,thanks so much for your project. Could you just add a little doc on how to get it work Step-by-Step with an existing DataGrid for the noobs like me?