SourceGrid.GridVirtual.PositionToRectangle C# (CSharp) Method

PositionToRectangle() public method

Get the rectangle of the cell respect to the client area visible, the grid DisplayRectangle. Returns Rectangle.Empty if the Position is empty or if is not valid.
public PositionToRectangle ( Position position ) : Rectangle
position Position
return System.Drawing.Rectangle
        public Rectangle PositionToRectangle(Position position)
        {
            return RangeToRectangle(PositionToCellRange(position));
        }