C# Class ZForge.Controls.XPTable.Events.PaintHeaderEventArgs

Provides data for the PaintHeader event
Inheritance: PaintEventArgs
Mostra file Open project: zhuangyy/Motion Class Usage Examples

Public Methods

Method Description
PaintHeaderEventArgs ( Graphics g, Column column, Table table, int columnIndex, ColumnHeaderStyle headerStyle, Rectangle headerRect ) : System

Initializes a new instance of the PaintHeaderEventArgs class with the specified graphics, column, table, column index, header style and clipping rectangle

PaintHeaderEventArgs ( Graphics g, Rectangle headerRect ) : System

Initializes a new instance of the PaintHeaderEventArgs class with the specified graphics and clipping rectangle

Private Methods

Method Description
SetColumn ( Column column ) : void

SetColumnIndex ( int columnIndex ) : void

SetHeaderRect ( Rectangle headerRect ) : void

SetHeaderStyle ( ColumnHeaderStyle headerStyle ) : void

SetTable ( Table table ) : void

Method Details

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

PaintHeaderEventArgs() public method

Initializes a new instance of the PaintHeaderEventArgs class with the specified graphics and clipping rectangle
public PaintHeaderEventArgs ( Graphics g, Rectangle headerRect ) : System
g System.Drawing.Graphics The Graphics used to paint the Column header
headerRect System.Drawing.Rectangle The Rectangle that represents the rectangle /// in which to paint
return System