DragSourceContext.GetInitialDragLocation メソッド (ElementGroup)
ドラッグ開始時のマウスの位置 (絶対ワールド座標で) を返します。
名前空間: Microsoft.VisualStudio.Modeling.Diagrams
アセンブリ: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 内)
構文
'宣言
Public Shared Function GetInitialDragLocation ( _
elementGroup As ElementGroup _
) As PointD
public static PointD GetInitialDragLocation(
ElementGroup elementGroup
)
パラメーター
- elementGroup
型 : Microsoft.VisualStudio.Modeling.ElementGroup
DragSourceContext が格納された ElementGroup。
戻り値
型 : Microsoft.VisualStudio.Modeling.Diagrams.PointD
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。