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 是用來計算大小底框的色彩,使其一律會在背景顯示。

當您定義可調整大小的視窗時,可以包含大小底框。 大小底框是一種特殊控制碼,可讓使用者調整視窗的大小。

另請參閱

適用於