XPTable.Models.Table.ColumnRect C# (CSharp) Method

ColumnRect() public method

Returns the bounding rectangle of the column at the specified index in client coordinates
public ColumnRect ( int column ) : Rectangle
column int The column
return System.Drawing.Rectangle
        public Rectangle ColumnRect(int column)
        {
            if (this.ColumnModel == null)
            {
                return Rectangle.Empty;
            }

            Rectangle rect = this.ColumnHeaderRect(column);

            if (rect == Rectangle.Empty)
            {
                return rect;
            }

            rect.Y += this.HeaderHeight;
            rect.Height = this.TotalRowHeight;

            return rect;
        }

Same methods

Table::ColumnRect ( Column column ) : Rectangle
Table