語言

ControlPaint.DrawSizeGrip 方法

定義

在表格上畫一個尺寸握把。

多載

名稱 Description
DrawSizeGrip(Graphics, Color, Rectangle)

在具有指定界限與背景色的表單及指定的圖形表面上繪製尺寸握把。

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

在具有指定界限與背景色的表單及指定的圖形表面上繪製尺寸握把。

DrawSizeGrip(Graphics, Color, Rectangle)

來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs

在具有指定界限與背景色的表單及指定的圖形表面上繪製尺寸握把。

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)

來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs

在具有指定界限與背景色的表單及指定的圖形表面上繪製尺寸握把。

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 參數用來計算握把尺寸的顏色,使其始終在背景中可見。

當你定義一個大視窗時,可以包含尺寸握把。 尺寸握把是一種特殊的把手,讓使用者可以調整窗戶大小。

另請參閱

適用於