Share via


DrawListViewColumnHeaderEventArgs Costruttore

Definizione

Inizializza una nuova istanza della 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)

Parametri

graphics
Graphics

La superficie dell'oggetto Graphics su cui disegnare.

bounds
Rectangle

Oggetto Rectangle all'interno del quale creare.

columnIndex
Int32

Indice della colonna dell'intestazione all'interno dell'insieme Columns.

header
ColumnHeader

Oggetto ColumnHeader che rappresenta l'intestazione da creare.

state
ListViewItemStates

Combinazione bit per bit dei valori ListViewItemStates che indica lo stato corrente dell'intestazione di colonna.

foreColor
Color

Color di primo piano dell'intestazione.

backColor
Color

Color di sfondo dell'intestazione.

font
Font

Font utilizzato per il testo dell'intestazione.

Si applica a