DrawItemEventArgs 생성자

정의

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

오버로드

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

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

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

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

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

Source:
DrawItemEventArgs.cs
Source:
DrawItemEventArgs.cs
Source:
DrawItemEventArgs.cs
Source:
DrawItemEventArgs.cs
Source:
DrawItemEventArgs.cs

지정된 글꼴, 상태, 그릴 표면 및 그릴 범위를 사용하여 지정된 컨트롤에 대한 클래스의 새 인스턴스 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)

Source:
DrawItemEventArgs.cs
Source:
DrawItemEventArgs.cs
Source:
DrawItemEventArgs.cs
Source:
DrawItemEventArgs.cs
Source:
DrawItemEventArgs.cs

지정된 글꼴, 상태, 전경색, 배경색, 그릴 표면 및 그릴 범위를 사용하여 지정된 컨트롤에 대한 클래스의 새 인스턴스 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 입니다.

적용 대상