다음을 통해 공유


DrawListViewColumnHeaderEventArgs 생성자

정의

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)

매개 변수

graphics
Graphics

이미지를 그릴 Graphics 표면입니다.

bounds
Rectangle

그릴 Rectangle입니다.

columnIndex
Int32

Columns 컬렉션에 있는 머리글 열의 인덱스입니다.

header
ColumnHeader

그릴 머리글을 나타내는 ColumnHeader입니다.

state
ListViewItemStates

열 머리글의 현재 상태를 나타내는 ListViewItemStates 값의 비트 조합입니다.

foreColor
Color

머리글의 전경 Color입니다.

backColor
Color

머리글의 배경 Color입니다.

font
Font

머리글 텍스트에 사용되는 Font입니다.

적용 대상