ControlPaint.DrawSizeGrip Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Draws a size grip on a form.
DrawSizeGrip(Graphics, Color, Rectangle) |
Draws a size grip on a form with the specified bounds and background color and on the specified graphics surface. |
DrawSizeGrip(Graphics, Color, Int32, Int32, Int32, Int32) |
Draws a size grip on a form with the specified bounds and background color and on the specified graphics surface. |
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
Draws a size grip on a form with the specified bounds and background color and on the specified graphics surface.
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)
Parameters
Remarks
The backColor
parameter is used to calculate the color of the size grip so that it is always visible against the background.
When you define a sizable window, you can include a size grip. A size grip is a special handle that enables the user to resize a window.
See also
Applies to
.NET Framework 4.8.1 и други версии
Продукт | Версии |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
Draws a size grip on a form with the specified bounds and background color and on the specified graphics surface.
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)
Parameters
- x
- Int32
The x-coordinate of the upper left corner of the size grip.
- y
- Int32
The y-coordinate of the upper left corner of the size grip.
- width
- Int32
The width of the size grip.
- height
- Int32
The height of the size grip.
Remarks
The backColor
parameter is used to calculate the color of the size grip so that it is always visible against the background.
When you define a sizable window, you can include a size grip. A size grip is a special handle that enables the user to resize a window.
See also
Applies to
.NET Framework 4.8.1 и други версии
Продукт | Версии |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: