DrawListViewColumnHeaderEventArgs Construtor

Definição

Inicializa uma nova instância da DrawListViewColumnHeaderEventArgs classe.

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 onde desenhar.

bounds
Rectangle

O Rectangle interior onde 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 desenhar.

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

O fundo Color do cabeçalho.

font
Font

É Font usado para o texto do cabeçalho.

Aplica-se a