DrawItemEventArgs DrawItemEventArgs DrawItemEventArgs Constructors

정의

오버로드

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

지정된 글꼴, 상태, 이미지를 그릴 화면, 이미지를 그릴 범위 등을 사용하여 지정된 컨트롤에 대한 DrawItemEventArgs 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DrawItemEventArgs class for the specified control with the specified font, state, surface to draw on, and the bounds to draw within.

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

지정된 글꼴, 상태, 전경색, 배경색, 이미지를 그릴 화면, 이미지를 그릴 범위 등을 사용하여 지정된 컨트롤에 대한 DrawItemEventArgs 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DrawItemEventArgs class for the specified control with the specified font, state, foreground color, background color, surface to draw on, and the bounds to draw within.

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

지정된 글꼴, 상태, 이미지를 그릴 화면, 이미지를 그릴 범위 등을 사용하여 지정된 컨트롤에 대한 DrawItemEventArgs 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DrawItemEventArgs class for the specified control with the specified font, state, surface to draw on, and the bounds to draw within.

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

매개 변수

graphics
Graphics Graphics Graphics

이미지를 그릴 Graphics 표면입니다.The Graphics surface on which to draw.

font
Font Font Font

사용할 Font 속성이며, 일반적으로 부모 컨트롤의 Font 속성에 해당합니다.The Font to use, usually the parent control's Font property.

rect
Rectangle Rectangle Rectangle

이미지를 그릴 Rectangle 경계입니다.The Rectangle bounds to draw within.

index
Int32 Int32 Int32

그리고 있는 항목의 Control.ControlCollection 인덱스 값입니다.The Control.ControlCollection index value of the item that is being drawn.

state
DrawItemState DrawItemState DrawItemState

컨트롤의 DrawItemState 정보입니다.The control's DrawItemState information.

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

지정된 글꼴, 상태, 전경색, 배경색, 이미지를 그릴 화면, 이미지를 그릴 범위 등을 사용하여 지정된 컨트롤에 대한 DrawItemEventArgs 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DrawItemEventArgs class for the specified control with the specified font, state, foreground color, background color, surface to draw on, and the bounds to draw within.

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

매개 변수

graphics
Graphics Graphics Graphics

이미지를 그릴 Graphics 표면입니다.The Graphics surface on which to draw.

font
Font Font Font

사용할 Font 속성이며, 일반적으로 부모 컨트롤의 Font 속성에 해당합니다.The Font to use, usually the parent control's Font property.

rect
Rectangle Rectangle Rectangle

이미지를 그릴 Rectangle 경계입니다.The Rectangle bounds to draw within.

index
Int32 Int32 Int32

그리고 있는 항목의 Control.ControlCollection 인덱스 값입니다.The Control.ControlCollection index value of the item that is being drawn.

state
DrawItemState DrawItemState DrawItemState

컨트롤의 DrawItemState 정보입니다.The control's DrawItemState information.

foreColor
Color Color Color

컨트롤을 그리는 데 사용할 전경 Color입니다.The foreground Color to draw the control with.

backColor
Color Color Color

컨트롤을 그리는 데 사용할 배경 Color입니다.The background Color to draw the control with.

적용 대상