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 を描画するために使用する StatusBarPanelThe Graphics to use to draw the StatusBarPanel.

font
Font Font Font

テキストを表示するために使用する FontThe Font used to render text.

r
Rectangle Rectangle Rectangle

Rectangle のクライアント領域を表す StatusBarPanelThe Rectangle that represents the client area of the StatusBarPanel.

itemId
Int32 Int32 Int32

StatusBar.StatusBarPanelCollection コントロールの StatusBar 内のパネルの 0 から始まるインデックス番号。The zero-based index of the panel in the StatusBar.StatusBarPanelCollection of the StatusBar control.

itemState
DrawItemState DrawItemState DrawItemState

DrawItemState に関するステータス情報を表す StatusBarPanel 値の 1 つ。One of the DrawItemState values that represents state information about the StatusBarPanel.

panel
StatusBarPanel StatusBarPanel StatusBarPanel

描画するパネルを表す StatusBarPanelA 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 を描画するために使用する StatusBarPanelThe Graphics to use to draw the StatusBarPanel.

font
Font Font Font

テキストを表示するために使用する FontThe Font used to render text.

r
Rectangle Rectangle Rectangle

Rectangle のクライアント領域を表す StatusBarPanelThe Rectangle that represents the client area of the StatusBarPanel.

itemId
Int32 Int32 Int32

StatusBar.StatusBarPanelCollection コントロールの StatusBar 内のパネルの 0 から始まるインデックス番号。The zero-based index of the panel in the StatusBar.StatusBarPanelCollection of the StatusBar control.

itemState
DrawItemState DrawItemState DrawItemState

DrawItemState に関するステータス情報を表す StatusBarPanel 値の 1 つ。One of the DrawItemState values that represents state information about the StatusBarPanel.

panel
StatusBarPanel StatusBarPanel StatusBarPanel

描画するパネルを表す StatusBarPanelA StatusBarPanel that represents the panel to draw.

foreColor
Color Color Color

描画するパネルの前景色を表す Color 値の 1 つ。One of the Color values that represents the foreground color of the panel to draw.

backColor
Color Color Color

描画するパネルの背景色を表す Color 値の 1 つ。One of the Color values that represents the background color of the panel to draw.

適用対象