StatusBarDrawItemEventArgs StatusBarDrawItemEventArgs StatusBarDrawItemEventArgs Constructors

정의

오버로드

StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel) StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel) StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel)

StatusBarDrawItemEventArgs의 배경색과 전경색을 지정하지 않고 StatusBarPanel 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the StatusBarDrawItemEventArgs class without specifying a background and foreground color for the StatusBarPanel.

StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel, Color, Color) StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel, Color, Color) StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel, Color, Color)

StatusBarDrawItemEventArgs의 지정된 배경색 및 전경색을 사용하여 StatusBarPanel 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the StatusBarDrawItemEventArgs class with a specified background and foreground color for the StatusBarPanel.

StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel) StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel) StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel)

StatusBarDrawItemEventArgs의 배경색과 전경색을 지정하지 않고 StatusBarPanel 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the StatusBarDrawItemEventArgs class without specifying a background and foreground color for the StatusBarPanel.

public:
 StatusBarDrawItemEventArgs(System::Drawing::Graphics ^ g, System::Drawing::Font ^ font, System::Drawing::Rectangle r, int itemId, System::Windows::Forms::DrawItemState itemState, System::Windows::Forms::StatusBarPanel ^ panel);
public StatusBarDrawItemEventArgs (System.Drawing.Graphics g, System.Drawing.Font font, System.Drawing.Rectangle r, int itemId, System.Windows.Forms.DrawItemState itemState, System.Windows.Forms.StatusBarPanel panel);
new System.Windows.Forms.StatusBarDrawItemEventArgs : System.Drawing.Graphics * System.Drawing.Font * System.Drawing.Rectangle * int * System.Windows.Forms.DrawItemState * System.Windows.Forms.StatusBarPanel -> System.Windows.Forms.StatusBarDrawItemEventArgs

매개 변수

g
Graphics Graphics Graphics

Graphics을 그리는 데 사용할 StatusBarPanel입니다.The Graphics to use to draw the StatusBarPanel.

font
Font Font Font

텍스트를 렌더링하는 데 사용되는 Font입니다.The Font used to render text.

r
Rectangle Rectangle Rectangle

Rectangle의 클라이언트 영역을 나타내는 StatusBarPanel입니다.The Rectangle that represents the client area of the StatusBarPanel.

itemId
Int32 Int32 Int32

StatusBar.StatusBarPanelCollectionStatusBar에 있는 패널의 인덱스(0부터 시작)입니다.The zero-based index of the panel in the StatusBar.StatusBarPanelCollection of the StatusBar control.

itemState
DrawItemState DrawItemState DrawItemState

DrawItemState에 대한 상태 정보를 나타내는 StatusBarPanel 값 중 하나입니다.One of the DrawItemState values that represents state information about the StatusBarPanel.

panel
StatusBarPanel StatusBarPanel StatusBarPanel

그릴 패널을 나타내는 StatusBarPanel입니다.A StatusBarPanel that represents the panel to draw.

추가 정보

StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel, Color, Color) StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel, Color, Color) StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel, Color, Color)

StatusBarDrawItemEventArgs의 지정된 배경색 및 전경색을 사용하여 StatusBarPanel 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the StatusBarDrawItemEventArgs class with a specified background and foreground color for the StatusBarPanel.

public:
 StatusBarDrawItemEventArgs(System::Drawing::Graphics ^ g, System::Drawing::Font ^ font, System::Drawing::Rectangle r, int itemId, System::Windows::Forms::DrawItemState itemState, System::Windows::Forms::StatusBarPanel ^ panel, System::Drawing::Color foreColor, System::Drawing::Color backColor);
public StatusBarDrawItemEventArgs (System.Drawing.Graphics g, System.Drawing.Font font, System.Drawing.Rectangle r, int itemId, System.Windows.Forms.DrawItemState itemState, System.Windows.Forms.StatusBarPanel panel, System.Drawing.Color foreColor, System.Drawing.Color backColor);
new System.Windows.Forms.StatusBarDrawItemEventArgs : System.Drawing.Graphics * System.Drawing.Font * System.Drawing.Rectangle * int * System.Windows.Forms.DrawItemState * System.Windows.Forms.StatusBarPanel * System.Drawing.Color * System.Drawing.Color -> System.Windows.Forms.StatusBarDrawItemEventArgs

매개 변수

g
Graphics Graphics Graphics

Graphics을 그리는 데 사용할 StatusBarPanel입니다.The Graphics to use to draw the StatusBarPanel.

font
Font Font Font

텍스트를 렌더링하는 데 사용되는 Font입니다.The Font used to render text.

r
Rectangle Rectangle Rectangle

Rectangle의 클라이언트 영역을 나타내는 StatusBarPanel입니다.The Rectangle that represents the client area of the StatusBarPanel.

itemId
Int32 Int32 Int32

StatusBar.StatusBarPanelCollectionStatusBar에 있는 패널의 인덱스(0부터 시작)입니다.The zero-based index of the panel in the StatusBar.StatusBarPanelCollection of the StatusBar control.

itemState
DrawItemState DrawItemState DrawItemState

DrawItemState에 대한 상태 정보를 나타내는 StatusBarPanel 값 중 하나입니다.One of the DrawItemState values that represents state information about the StatusBarPanel.

panel
StatusBarPanel StatusBarPanel StatusBarPanel

그릴 패널을 나타내는 StatusBarPanel입니다.A StatusBarPanel that represents the panel to draw.

foreColor
Color Color Color

그릴 패널의 전경색을 나타내는 Color 값 중 하나입니다.One of the Color values that represents the foreground color of the panel to draw.

backColor
Color Color Color

그릴 패널의 배경색을 나타내는 Color 값 중 하나입니다.One of the Color values that represents the background color of the panel to draw.

적용 대상