Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Started Event
Collapse the table of content
Expand the table of content

ManipulationProcessor2D.Started Event

.NET Framework 4.6 and 4.5

Occurs when a new manipulation has started.

Namespace:  System.Windows.Input.Manipulations
Assembly:  System.Windows.Input.Manipulations (in System.Windows.Input.Manipulations.dll)

public event EventHandler<Manipulation2DStartedEventArgs> Started

In the following example, an event handler for the Started event checks to see if inertia processing is running and if so, stops it.

#region OnManipulationStarted
private void OnManipulationStarted(object sender, Manipulation2DStartedEventArgs e)
    if (inertiaProcessor.IsRunning)
#region Timestamp
private long Timestamp
        // Get timestamp in 100-nanosecond units. 
        double nanosecondsPerTick = 1000000000.0 / System.Diagnostics.Stopwatch.Frequency;
        return (long)(System.Diagnostics.Stopwatch.GetTimestamp() / nanosecondsPerTick / 100.0);

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft