StatusBarDrawItemEventArgs コンストラクター

定義

StatusBarDrawItemEventArgs クラスの新しいインスタンスを初期化します。

オーバーロード

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

StatusBarDrawItemEventArgs の背景色と前景色を指定せずに、StatusBarPanel クラスの新しいインスタンスを初期化します。

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

StatusBarDrawItemEventArgs の背景色と前景色を指定して、StatusBarPanel クラスの新しいインスタンスを初期化します。

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

StatusBarDrawItemEventArgs の背景色と前景色を指定せずに、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
Public Sub New (g As Graphics, font As Font, r As Rectangle, itemId As Integer, itemState As DrawItemState, panel As StatusBarPanel)

パラメーター

g
Graphics

Graphics を描画するために使用する StatusBarPanel

font
Font

テキストを表示するために使用する Font

r
Rectangle

Rectangle のクライアント領域を表す StatusBarPanel

itemId
Int32

StatusBar.StatusBarPanelCollection コントロールの StatusBar 内のパネルの 0 から始まるインデックス番号。

itemState
DrawItemState

DrawItemState に関するステータス情報を表す StatusBarPanel 値の 1 つ。

panel
StatusBarPanel

描画するパネルを表す StatusBarPanel

こちらもご覧ください

適用対象

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

StatusBarDrawItemEventArgs の背景色と前景色を指定して、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
Public Sub New (g As Graphics, font As Font, r As Rectangle, itemId As Integer, itemState As DrawItemState, panel As StatusBarPanel, foreColor As Color, backColor As Color)

パラメーター

g
Graphics

Graphics を描画するために使用する StatusBarPanel

font
Font

テキストを表示するために使用する Font

r
Rectangle

Rectangle のクライアント領域を表す StatusBarPanel

itemId
Int32

StatusBar.StatusBarPanelCollection コントロールの StatusBar 内のパネルの 0 から始まるインデックス番号。

itemState
DrawItemState

DrawItemState に関するステータス情報を表す StatusBarPanel 値の 1 つ。

panel
StatusBarPanel

描画するパネルを表す StatusBarPanel

foreColor
Color

描画するパネルの前景色を表す Color 値の 1 つ。

backColor
Color

描画するパネルの背景色を表す Color 値の 1 つ。

適用対象