MouseGestureData 类
更新:2007 年 11 月
提供有关鼠标位置的信息。
命名空间: Microsoft.Windows.Design.Interaction
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public Class MouseGestureData _
Inherits GestureData
用法
Dim instance As MouseGestureData
public class MouseGestureData : GestureData
public ref class MouseGestureData : public GestureData
public class MouseGestureData extends GestureData
备注
StartPosition 属性指示首次单击鼠标按钮时鼠标的位置。所有位置均始终位于 DesignerView 的坐标系中,因此,当用户移动元素时,这些位置并不会“移动”。此修饰器通过 coordinateReference 参数提供给 MouseGestureData 类。您可以通过调用 TranslatePoint 方法将坐标转换为其他参考。
继承层次结构
System.Object
Microsoft.Windows.Design.Interaction.GestureData
Microsoft.Windows.Design.Interaction.MouseGestureData
Microsoft.Windows.Design.Interaction.DragGestureData
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
另请参见
参考
Microsoft.Windows.Design.Interaction 命名空间