ControlPaint.DrawSizeGrip 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在窗体上绘制大小手柄。
重载
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)
参数
注解
该 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)
参数
- x
- Int32
大小手柄的左上角的 x 坐标。
- y
- Int32
大小手柄的左上角的 y 坐标。
- width
- Int32
大小手柄的宽度。
- height
- Int32
大小手柄的高度。
注解
该 backColor
参数用于计算大小手柄的颜色,使其始终在背景上可见。
定义可调整大小的窗口时,可以包含大小手柄。 大小手柄是一种特殊的手柄,允许用户调整窗口大小。