语言

ControlPaint.DrawSizeGrip 方法

定义

在窗体上绘制大小控制。

重载

名称 说明
DrawSizeGrip(Graphics, Color, Rectangle)

在具有指定边界和背景色和指定图形图面的窗体上绘制大小手柄。

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

在具有指定边界和背景色和指定图形图面的窗体上绘制大小手柄。

DrawSizeGrip(Graphics, Color, Rectangle)

Source:
ControlPaint.cs
Source:
ControlPaint.cs
Source:
ControlPaint.cs
Source:
ControlPaint.cs
Source:
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)

Source:
ControlPaint.cs
Source:
ControlPaint.cs
Source:
ControlPaint.cs
Source:
ControlPaint.cs
Source:
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 参数用于计算大小手柄的颜色,以便它始终在背景中可见。

定义可调整大小的窗口时,可以包含大小手柄。 大小手柄是一种特殊的手柄,使用户能够调整窗口的大小。

另请参阅

适用于