What is the best way to get a row-by-row selection feel to a DataGrid in Silverlight rather than a selected row and an active cell? For my current application I just don't need the UI effect of an active cell.
+1
A:
Try changing your DataGrid's SelectionUnit
property to FullRow
. I know it works with WPF although I am not sure if Silverlight syntax is the same or not
Rachel
2010-09-08 14:10:08
I can see this is a valid property according to MSDN http://msdn.microsoft.com/en-us/library/system.windows.controls.datagrid.selectionunit.aspx but when I try to get to the property from Intellisense - no luck. It is not there. Thoughts?
tyndall
2010-09-08 17:53:06
I've never worked with Silverlight before, just WPF. Perhaps it is a property that doesn't exist in Silverlight? I know the WPF DataGrid control was only recently added with .Net Framework 4.0. An alternative might be to just style the ActiveCell the same as the SelectedRow
Rachel
2010-09-08 19:51:19
I think you are right. Might have to ask some friends or come back here and find out what the Silverlight equivalent is. +1
tyndall
2010-09-09 16:12:44