PickRange method definition:
PickRange(Func<...,bool> handler, cursor)
where
handleris an anonymous function that is called when range picked by user.- Return
truefrom thishandlerif range is expected. Returnfalseto continue pick range. cursoris the cursor displayed when user picking range. Cursor will be restored to default after operation is terminate.
grid.PickRange((inst, range) =>
{
MessageBox.Show("User picked range: " + range.ToString());
return true;
}, Cursors.Hand);
