Compartilhar via


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 superfície Graphics na qual desenhar.

bounds
Rectangle

O Rectangle dentro da qual desenhar.

columnIndex
Int32

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

header
ColumnHeader

O ColumnHeader que representa o cabeçalho a ser desenhado.

state
ListViewItemStates

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

foreColor
Color

O Color de primeiro plano do cabeçalho.

backColor
Color

O Color de tela de fundo do cabeçalho.

font
Font

O Font usado para o texto de cabeçalho.

Aplica-se a