DrawItemEventArgs 생성자

정의

DrawItemEventArgs 클래스의 새 인스턴스를 초기화합니다.

오버로드

DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState)

지정된 글꼴, 상태, 이미지를 그릴 화면, 이미지를 그릴 범위 등을 사용하여 지정된 컨트롤에 대한 DrawItemEventArgs 클래스의 새 인스턴스를 초기화합니다.

DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, Color, Color)

지정된 글꼴, 상태, 전경색, 배경색, 이미지를 그릴 화면, 이미지를 그릴 범위 등을 사용하여 지정된 컨트롤에 대한 DrawItemEventArgs 클래스의 새 인스턴스를 초기화합니다.

DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState)

지정된 글꼴, 상태, 이미지를 그릴 화면, 이미지를 그릴 범위 등을 사용하여 지정된 컨트롤에 대한 DrawItemEventArgs 클래스의 새 인스턴스를 초기화합니다.

public:
 DrawItemEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Font ^ font, System::Drawing::Rectangle rect, int index, System::Windows::Forms::DrawItemState state);
public DrawItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Font font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state);
public DrawItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Font? font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state);
new System.Windows.Forms.DrawItemEventArgs : System.Drawing.Graphics * System.Drawing.Font * System.Drawing.Rectangle * int * System.Windows.Forms.DrawItemState -> System.Windows.Forms.DrawItemEventArgs
Public Sub New (graphics As Graphics, font As Font, rect As Rectangle, index As Integer, state As DrawItemState)

매개 변수

graphics
Graphics

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

font
Font

사용할 Font 속성이며, 일반적으로 부모 컨트롤의 Font 속성에 해당합니다.

rect
Rectangle

이미지를 그릴 Rectangle 경계입니다.

index
Int32

그리고 있는 항목의 Control.ControlCollection 인덱스 값입니다.

state
DrawItemState

컨트롤의 DrawItemState 정보입니다.

적용 대상

DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, Color, Color)

지정된 글꼴, 상태, 전경색, 배경색, 이미지를 그릴 화면, 이미지를 그릴 범위 등을 사용하여 지정된 컨트롤에 대한 DrawItemEventArgs 클래스의 새 인스턴스를 초기화합니다.

public:
 DrawItemEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Font ^ font, System::Drawing::Rectangle rect, int index, System::Windows::Forms::DrawItemState state, System::Drawing::Color foreColor, System::Drawing::Color backColor);
public DrawItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Font font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state, System.Drawing.Color foreColor, System.Drawing.Color backColor);
public DrawItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Font? font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state, System.Drawing.Color foreColor, System.Drawing.Color backColor);
new System.Windows.Forms.DrawItemEventArgs : System.Drawing.Graphics * System.Drawing.Font * System.Drawing.Rectangle * int * System.Windows.Forms.DrawItemState * System.Drawing.Color * System.Drawing.Color -> System.Windows.Forms.DrawItemEventArgs
Public Sub New (graphics As Graphics, font As Font, rect As Rectangle, index As Integer, state As DrawItemState, foreColor As Color, backColor As Color)

매개 변수

graphics
Graphics

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

font
Font

사용할 Font 속성이며, 일반적으로 부모 컨트롤의 Font 속성에 해당합니다.

rect
Rectangle

이미지를 그릴 Rectangle 경계입니다.

index
Int32

그리고 있는 항목의 Control.ControlCollection 인덱스 값입니다.

state
DrawItemState

컨트롤의 DrawItemState 정보입니다.

foreColor
Color

컨트롤을 그리는 데 사용할 전경 Color입니다.

backColor
Color

컨트롤을 그리는 데 사용할 배경 Color입니다.

적용 대상