Home › Forums › WinForms controls › Xceed Grid for WinForms › multi-select causes too many select events › Reply To: multi-select causes too many select events
If you use the following line, you can know how many rows are selected when you are in the event handler :
private void gridControl1_SelectedRowsChanged(object sender, EventArgs e)
{
if( gridControl1.SelectedRows.Count == 10 )
{
//do what you need
}
}
There is no way of knowing if the user is still selected more rows at that time however.
Imported from legacy forums. Posted by André (had 402 views)