DrawListViewColumnHeaderEventArgs Construtor

Definição

Inicializa uma nova instância da classe DrawListViewColumnHeaderEventArgs.

public:
 DrawListViewColumnHeaderEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle bounds, int columnIndex, System::Windows::Forms::ColumnHeader ^ header, System::Windows::Forms::ListViewItemStates state, System::Drawing::Color foreColor, System::Drawing::Color backColor, System::Drawing::Font ^ font);
public DrawListViewColumnHeaderEventArgs(System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, int columnIndex, System.Windows.Forms.ColumnHeader header, System.Windows.Forms.ListViewItemStates state, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font);
public DrawListViewColumnHeaderEventArgs(System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, int columnIndex, System.Windows.Forms.ColumnHeader? header, System.Windows.Forms.ListViewItemStates state, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font? font);
new System.Windows.Forms.DrawListViewColumnHeaderEventArgs : System.Drawing.Graphics * System.Drawing.Rectangle * int * System.Windows.Forms.ColumnHeader * System.Windows.Forms.ListViewItemStates * System.Drawing.Color * System.Drawing.Color * System.Drawing.Font -> System.Windows.Forms.DrawListViewColumnHeaderEventArgs
Public Sub New (graphics As Graphics, bounds As Rectangle, columnIndex As Integer, header As ColumnHeader, state As ListViewItemStates, foreColor As Color, backColor As Color, font As Font)

Parâmetros

graphics
Graphics

A Graphics superfície na qual desenhar.

bounds
Rectangle

O Rectangle dentro do qual desenhar.

columnIndex
Int32

O índice da coluna do cabeçalho dentro da Columns coleção.

header
ColumnHeader

A ColumnHeader representação do cabeçalho a ser desenhado.

state
ListViewItemStates

Uma combinação bit a bit de ListViewItemStates valores que indica o estado atual do cabeçalho da coluna.

foreColor
Color

O primeiro plano Color do cabeçalho.

backColor
Color

A tela de fundo Color do cabeçalho.

font
Font

O Font usado para o texto do cabeçalho.

Aplica-se a