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.cs
ソース:
StatusBarDrawItemEventArgs.cs

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.cs
ソース:
StatusBarDrawItemEventArgs.cs

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 つ。

適用対象