DrawListViewColumnHeaderEventArgs Constructor

Definición

Inicializa una nueva instancia de la clase 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);
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

Superficie Graphics en la que se va a dibujar.

bounds
Rectangle

Objeto dentro del Rectangle que se va a dibujar.

columnIndex
Int32

Índice de la columna del encabezado dentro de la Columns colección.

header
ColumnHeader

ColumnHeader que representa el encabezado que se va a dibujar.

state
ListViewItemStates

Combinación bit a bit de ListViewItemStates valores que indica el estado actual del encabezado de columna.

foreColor
Color

Primer plano Color del encabezado.

backColor
Color

Fondo Color del encabezado.

font
Font

que Font se usa para el texto del encabezado.

Se aplica a