Language

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。

注釈

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

適用対象