S Scott Hodson Sep 3, 2003 #1 If I select 1 or more rows in a data grid control, how do I detect which rows are selected/highlighted?
If I select 1 or more rows in a data grid control, how do I detect which rows are selected/highlighted?
D Dmitriy Lapshin [C# / .NET MVP] Sep 3, 2003 #2 Hi, The short answer: call IsSelected() for every row in the grid. The long answer: override mouse and keyboard handling to implement your own selection tracking.
Hi, The short answer: call IsSelected() for every row in the grid. The long answer: override mouse and keyboard handling to implement your own selection tracking.