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

Superficie Graphics su cui disegnare.

bounds
Rectangle

Oggetto Rectangle all'interno del quale disegnare.

columnIndex
Int32

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

header
ColumnHeader

Oggetto ColumnHeader che rappresenta l'intestazione da disegnare.

state
ListViewItemStates

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

foreColor
Color

Primo piano Color dell'intestazione.

backColor
Color

Sfondo Color dell'intestazione.

font
Font

Oggetto Font utilizzato per il testo dell'intestazione.

Si applica a