Compartir a través de


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);
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

Estructura Rectangle dentro de la que se va a dibujar.

columnIndex
Int32

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

header
ColumnHeader

ColumnHeader que representa el encabezado que se va a dibujar.

state
ListViewItemStates

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

foreColor
Color

Control Color de primer plano del encabezado.

backColor
Color

Control Color de fondo del encabezado.

font
Font

Control Font utilizado para el texto de encabezado.

Se aplica a