public ColumnHeaderRect ( int column ) : |
||
column | int | The index of the column |
Результат |
public Rectangle ColumnHeaderRect(int column)
{
if (this.ColumnModel == null)
{
return Rectangle.Empty;
}
Rectangle rect = this.ColumnModel.ColumnHeaderRect(column);
if (rect == Rectangle.Empty)
{
return rect;
}
rect.X -= this.hScrollBar.Value - this.BorderWidth;
rect.Y = this.BorderWidth;
return rect;
}
Table::ColumnHeaderRect ( |