ControlPaint.DrawGrabHandle(Graphics, Rectangle, Boolean, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在指定的圖形表面、指定範圍內,以及指定的狀態與樣式上繪製標準選取抓取柄字形。
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)
參數
- primary
- Boolean
true將把手拉成主要抓手;否則,。 false
- enabled
- Boolean
true在啟用狀態下繪製手柄;否則,。 false
備註
抓取把手被物件用來指示使用者可以直接操作物件。 操作可以包括大小調整和移動等動作。