Manipulation2DStartedEventArgs 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示用 Started 事件发送的数据。
public ref class Manipulation2DStartedEventArgs : EventArgspublic class Manipulation2DStartedEventArgs : EventArgstype Manipulation2DStartedEventArgs = class
    inherit EventArgsPublic Class Manipulation2DStartedEventArgs
Inherits EventArgs- 继承
示例
在下面的示例中,事件的 Started 事件处理程序检查是否正在运行惯性处理,如果是,则停止它。
#region OnManipulationStarted
private void OnManipulationStarted(object sender, Manipulation2DStartedEventArgs e)
{
    if (inertiaProcessor.IsRunning)
    {
        inertiaProcessor.Complete(Timestamp);
    }
}
#endregion
#region Timestamp
private long Timestamp
{
    get
    {
        // Get timestamp in 100-nanosecond units.
        double nanosecondsPerTick = 1000000000.0 / System.Diagnostics.Stopwatch.Frequency;
        return (long)(System.Diagnostics.Stopwatch.GetTimestamp() / nanosecondsPerTick / 100.0);
    }
}
#endregion
属性
| OriginX | 获取原点的 X 坐标。 | 
| OriginY | 获取原点的 Y 坐标。 | 
方法
| Equals(Object) | 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetHashCode() | 作为默认哈希函数。(继承自 Object) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| ToString() | 返回表示当前对象的字符串。(继承自 Object) |