ControlPaint.DrawGrabHandle(Graphics, Rectangle, Boolean, Boolean) メソッド

定義

標準の選択項目のグラブ ハンドル グリフを、指定した状態およびスタイルで、指定したグラフィックスの表面の指定した範囲内に描画します。

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)

パラメーター

graphics
Graphics

描画する Graphics

rectangle
Rectangle

グラブ ハンドル グリフの大きさを表す Rectangle

primary
Boolean

主グラブ ハンドルとしてハンドルを描画する場合は、true。それ以外の場合は、false

enabled
Boolean

有効状態でハンドルを描画する場合は、true。それ以外の場合は、false

注釈

グラブ ハンドルは、ユーザーがオブジェクトを直接操作できることをユーザーに示すために、オブジェクトによって使用されます。 操作は、サイズ設定や移動などのアクションで構成できます。

適用対象