Uređivanje

Dijeli putem


ControlPaint.DrawSizeGrip Method

Definition

Draws a size grip on a form.

Overloads

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.

DrawSizeGrip(Graphics, Color, Rectangle)

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

graphics
Graphics

The Graphics to draw on.

backColor
Color

The Color of the background used to determine the colors of the size grip.

bounds
Rectangle

The Rectangle that represents the dimensions 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

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.

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

graphics
Graphics

The Graphics to draw on.

backColor
Color

The Color of the background used to determine the colors of the size grip.

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