DrawListViewColumnHeaderEventArgs(Graphics, Rectangle, Int32, ColumnHeader, ListViewItemStates, Color, Color, Font) コンストラクター

定義

DrawListViewColumnHeaderEventArgs クラスの新しいインスタンスを初期化します。Initializes a new instance of the DrawListViewColumnHeaderEventArgs class.

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

パラメーター

graphics
Graphics

描画が実行される Graphics 表面。The Graphics surface on which to draw.

bounds
Rectangle

内部を描画する RectangleThe Rectangle within which to draw.

columnIndex
Int32

Columns コレクション内のヘッダー列のインデックス。The index of the header's column within the Columns collection.

header
ColumnHeader

描画するヘッダーを表す ColumnHeaderThe ColumnHeader representing the header to draw.

state
ListViewItemStates

列ヘッダーの現在の状態を示す ListViewItemStates 値のビットごとの組み合わせ。A bitwise combination of ListViewItemStates values indicating the current state of the column header.

foreColor
Color

ヘッダーの前景の ColorThe foreground Color of the header.

backColor
Color

ヘッダーの背景の ColorThe background Color of the header.

font
Font

ヘッダー テキストに使用する FontThe Font used for the header text.

適用対象