Below is the source with included help on that method. It relies on the GridRangeInfoList.AnyRangeContains which is seems to be a ''reasonably'' named method which is probably a better method to be aware of than GetInvertStateRowCol. The reason that this method is named GetInvertStateRowCol is that selections can be indicated by just inverting the selected range. If you turn off the AlphaBlend flag in AllowSelections, you can see this behavior. Historically, this is how selections were done. But with alphablending available with GDI+, the selections look better using blending. So, GetInvertStateRowCol makes more sense if you use inverting to mark selections.
Thank you for reporting the broken links. We will get them fix.
///
/// Determines if the specified cell position is found in a range list.
///
/// The row index.
/// The column index.
/// The range list with ranges to be searched.
/// true if cell position was found; false otherwise.
public bool GetInvertStateRowCol(int rowIndex, int colIndex, GridRangeInfoList rl)
{
return rl != null && rl.AnyRangeContains(GridRangeInfo.Cell(rowIndex, colIndex));
}