Sdílet prostřednictvím


DrawListViewColumnHeaderEventArgs Konstruktor

Definice

Inicializuje novou instanci DrawListViewColumnHeaderEventArgs třídy.

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)

Parametry

graphics
Graphics

Plocha Graphics , na kterou se má kreslit.

bounds
Rectangle

V Rectangle rámci kterého se má kreslit.

columnIndex
Int32

Index sloupce záhlaví v kolekci Columns .

header
ColumnHeader

Představuje ColumnHeader záhlaví, které chcete nakreslit.

state
ListViewItemStates

Bitové kombinace ListViewItemStates hodnot označující aktuální stav záhlaví sloupce.

foreColor
Color

Color Popředí záhlaví.

backColor
Color

Pozadí Color záhlaví.

font
Font

Používá se Font pro text záhlaví.

Platí pro