ControlPaint.DrawSizeGrip メソッド

定義

フォームにサイズ グリップを描画します。

オーバーロード

名前 説明
DrawSizeGrip(Graphics, Color, Rectangle)

指定した境界と背景色を持つフォームと、指定したグラフィックス サーフェイスにサイズ グリップを描画します。

DrawSizeGrip(Graphics, Color, Int32, Int32, Int32, Int32)

指定した境界と背景色を持つフォームと、指定したグラフィックス サーフェイスにサイズ グリップを描画します。

DrawSizeGrip(Graphics, Color, Rectangle)

指定した境界と背景色を持つフォームと、指定したグラフィックス サーフェイスにサイズ グリップを描画します。

public:
 static void DrawSizeGrip(System::Drawing::Graphics ^ graphics, System::Drawing::Color backColor, System::Drawing::Rectangle bounds);
public static void DrawSizeGrip(System.Drawing.Graphics graphics, System.Drawing.Color backColor, System.Drawing.Rectangle bounds);
static member DrawSizeGrip : System.Drawing.Graphics * System.Drawing.Color * System.Drawing.Rectangle -> unit
Public Shared Sub DrawSizeGrip (graphics As Graphics, backColor As Color, bounds As Rectangle)

パラメーター

graphics
Graphics

描画する Graphics

backColor
Color

サイズ グリップの色を決定するために使用する背景の Color

bounds
Rectangle

サイズ グリップの寸法を表す Rectangle

注釈

backColor パラメータは、常に背景に表示されるようにサイズ グリップの色を計算するために使用されます。

サイズの大きなウィンドウを定義する場合は、サイズ グリップを含めることができます。 サイズ グリップは、ユーザーがウィンドウのサイズを変更できるようにする特別なハンドルです。

こちらもご覧ください

適用対象

DrawSizeGrip(Graphics, Color, Int32, Int32, Int32, Int32)

指定した境界と背景色を持つフォームと、指定したグラフィックス サーフェイスにサイズ グリップを描画します。

public:
 static void DrawSizeGrip(System::Drawing::Graphics ^ graphics, System::Drawing::Color backColor, int x, int y, int width, int height);
public static void DrawSizeGrip(System.Drawing.Graphics graphics, System.Drawing.Color backColor, int x, int y, int width, int height);
static member DrawSizeGrip : System.Drawing.Graphics * System.Drawing.Color * int * int * int * int -> unit
Public Shared Sub DrawSizeGrip (graphics As Graphics, backColor As Color, x As Integer, y As Integer, width As Integer, height As Integer)

パラメーター

graphics
Graphics

描画する Graphics

backColor
Color

サイズ グリップの色を決定するために使用する背景の Color

x
Int32

サイズ グリップの左上隅の x 座標。

y
Int32

サイズ グリップの左上隅の y 座標。

width
Int32

サイズ グリップの幅。

height
Int32

サイズ グリップの高さ。

注釈

backColor パラメータは、常に背景に表示されるようにサイズ グリップの色を計算するために使用されます。

サイズの大きなウィンドウを定義する場合は、サイズ グリップを含めることができます。 サイズ グリップは、ユーザーがウィンドウのサイズを変更できるようにする特別なハンドルです。

こちらもご覧ください

適用対象