ZForge.Controls.XPTable.Events.PaintHeaderEventArgs.PaintHeaderEventArgs C# (CSharp) Method

PaintHeaderEventArgs() public method

Initializes a new instance of the PaintHeaderEventArgs class with the specified graphics, column, table, column index, header style and clipping rectangle
public PaintHeaderEventArgs ( Graphics g, Column column, Table table, int columnIndex, ColumnHeaderStyle headerStyle, Rectangle headerRect ) : System
g System.Drawing.Graphics The Graphics used to paint the Column header
column ZForge.Controls.XPTable.Models.Column The Column to be painted
table ZForge.Controls.XPTable.Models.Table The Table the Column's ColumnModel belongs to
columnIndex int The index of the Column in the Table's ColumnModel
headerStyle ColumnHeaderStyle The style of the Column's header
headerRect System.Drawing.Rectangle The Rectangle that represents the rectangle /// in which to paint
return System
        public PaintHeaderEventArgs(Graphics g, Column column, Table table, int columnIndex, ColumnHeaderStyle headerStyle, Rectangle headerRect)
            : base(g, headerRect)
        {
            this.column = column;
            this.table = table;
            this.columnIndex = columnIndex;
            this.column = column;
            this.headerStyle = headerStyle;
            this.headerRect = headerRect;
            this.handled = false;
        }

Same methods

PaintHeaderEventArgs::PaintHeaderEventArgs ( Graphics g, Rectangle headerRect ) : System