DrawListViewColumnHeaderEventArgs Constructeur

Définition

Initialise une nouvelle instance de la 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)

Paramètres

graphics
Graphics

Surface Graphics sur laquelle dessiner.

bounds
Rectangle

À Rectangle l’intérieur duquel dessiner.

columnIndex
Int32

Index de la colonne de l’en-tête dans la Columns collection.

header
ColumnHeader

Représentant ColumnHeader l’en-tête à dessiner.

state
ListViewItemStates

Combinaison de valeurs au niveau du ListViewItemStates bit indiquant l’état actuel de l’en-tête de colonne.

foreColor
Color

Premier plan de l’en-tête Color .

backColor
Color

Arrière-plan de l’en-tête Color .

font
Font

Utilisé Font pour le texte d’en-tête.

S’applique à