How do I enable multi row selection in the win grid?
I am able to select multiple rows, but the selected rows collection always has 0 rows.
Row selection is enabled by default. It is controlled by the SelectTypeRow property. Also see the CellClickAction and RowSelections properties.
If the grid.Selected.Rows.Count is 0, then there are no selected rows. If you are selecting rows and the count is still 0, then either the collection is being cleared or you are not really selecting rows and something else is going on. Perhaps you are confusing selected with Active. The ActiveRow looks like a selected row by default, but it is not necessarily selected.
FAQ:How do I turn off the ActiveRowAppearance so that the active row in the grid does not appear selected.