DrawItemEventArgs コンストラクター

定義

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

オーバーロード

名前 説明
DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState)

指定したフォント、状態、描画するサーフェス、および描画する境界を使用して、指定したコントロールの DrawItemEventArgs クラスの新しいインスタンスを初期化します。

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

指定したフォント、状態、前景色、背景色、描画するサーフェス、および描画する境界を使用して、指定したコントロールの DrawItemEventArgs クラスの新しいインスタンスを初期化します。

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

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

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

適用対象