RectangleF GetColumnBounds(MyGridView view, MyGridColumn col)
        {
            RectangleF result = GetColumnHeaderBounds(view, col);

            if (result.IsEmpty)
            {
                return(result);
            }
            GridViewInfo viewInfo   = view.GetViewInfo() as GridViewInfo;
            int          rowsHeight = viewInfo.RowsLoadInfo.ResultRowsHeight;

            result.Height += rowsHeight;
            return(result);
        }
        RectangleF GetColumnHeaderBounds(MyGridView view, MyGridColumn col)
        {
            GridViewInfo viewInfo = view.GetViewInfo() as GridViewInfo;

            if (viewInfo.IsReady && !viewInfo.IsDataDirty)
            {
                foreach (GridColumnInfoArgs info in viewInfo.ColumnsInfo)
                {
                    if (info.Column == col)
                    {
                        return(info.Bounds);
                    }
                }
            }
            return(RectangleF.Empty);
        }