ControlPaint.DrawGrabHandle(Graphics, Rectangle, Boolean, Boolean) Method
Definition
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 standard selection grab handle glyph on the specified graphics surface, within the specified bounds, and in the specified state and style.
public:
static void DrawGrabHandle(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle rectangle, bool primary, bool enabled);
public static void DrawGrabHandle (System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, bool primary, bool enabled);
static member DrawGrabHandle : System.Drawing.Graphics * System.Drawing.Rectangle * bool * bool -> unit
Public Shared Sub DrawGrabHandle (graphics As Graphics, rectangle As Rectangle, primary As Boolean, enabled As Boolean)
Parameters
- primary
- Boolean
true
to draw the handle as a primary grab handle; otherwise, false
.
- enabled
- Boolean
true
to draw the handle in an enabled state; otherwise, false
.
Remarks
Grab handles are used by objects to indicate to the user that the user can directly manipulate the object. The manipulation can consist of actions such as sizing and moving.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om