# C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs" data-uid="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs" class="text-break">ManipulationInertiaStartingEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for <a class="xref" href="C1.Win.TouchToolKit.C1TouchEventProvider.ManipulationInertiaStarting.html">ManipulationInertiaStarting</a> event.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><a class="xref" href="C1.Win.TouchToolKit.TouchRoutedEventArgs.html">TouchRoutedEventArgs</a></div>
    <div class="level3"><span class="xref">ManipulationInertiaStartingEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.TouchToolKit.html">C1.Win.TouchToolKit</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.TouchToolKit.4.8.dll</h6>
  <h5 id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ManipulationInertiaStartingEventArgs : TouchRoutedEventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ManipulationInertiaStartingEventArgs
    Inherits TouchRoutedEventArgs</code></pre>
  </div>
  <h5 id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_examples"><strong>Examples</strong></h5>
  <p>
  The following code example shows how to use <a class="xref" href="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.html">ManipulationInertiaStartingEventArgs</a> class. 
</p>
<p>
  This code example is part of a larger example provided for the <a class="xref" href="C1.Win.TouchToolKit.C1TouchEventProvider.html">C1TouchEventProvider</a> class.
</p>
<pre><code class="lang-csharp">public class GcTouchEventProviderDemo : Form
{
	private Panel _bluePanel;
	private ListBox _messageListBox;
	private GcTouchEventProvider _gcTouchEventProvider = new GcTouchEventProvider();

	public GcTouchEventProviderDemo()
	{
		InitializeComponent();

		// Enable all manipulation interaction modes.
		_gcTouchEventProvider.ManipulationMode = ManipulationModes.All;

		// EnablePressAndHold and EnablePenFlicks property default value is True;

		// Attach GcTouchEventprovider to Panel.
		_gcTouchEventProvider.SetEnableTouchEvents(_bluePanel, true);

		_gcTouchEventProvider.ManipulationInertiaStarting += _gcTouchEventProvider_ManipulationInertiaStarting;
	}

	private void _gcTouchEventProvider_ManipulationInertiaStarting(object sender, ManipulationInertiaStartingEventArgs e)
	{
		string log = "Target: " + e.TargetControl.Name + " Event: ManipulationInertiaStarting" + "  Velocities: " + e.Velocities.Linear.ToString();
		_messageListBox.Items.Add(log);
	}

	private void InitializeComponent()
	{
		_bluePanel = new Panel();
		_bluePanel.Name = "Blue";
		_bluePanel.BackColor = Color.Blue;
		_bluePanel.Size = new Size(200, 200);
		_bluePanel.Location = new Point(20, 20);

		_messageListBox = new ListBox();
		_messageListBox.Size = new Size(750, 310);
		_messageListBox.Location = new Point(20, 240);

		this.Controls.Add(_bluePanel);
		this.Controls.Add(_messageListBox);
	}
}</code></pre>
<pre><code class="lang-csharp">Public Class GcTouchEventProviderDemo
	Inherits Form
	Private _bluePanel As Panel
	Private _messageListBox As ListBox
	Private _gcTouchEventProvider As New GcTouchEventProvider()

	Public Sub New()
		InitializeComponent()

		' Enable all manipulation interaction modes.
		_gcTouchEventProvider.ManipulationMode = ManipulationModes.All

		' EnablePressAndHold and EnablePenFlicks property default value is True;

		' Attach GcTouchEventprovider to Panel.
		_gcTouchEventProvider.SetEnableTouchEvents(_bluePanel, True)

		AddHandler _gcTouchEventProvider.ManipulationInertiaStarting, AddressOf _gcTouchEventProvider_ManipulationInertiaStarting
	End Sub

	Private Sub _gcTouchEventProvider_ManipulationInertiaStarting(sender As Object, e As ManipulationInertiaStartingEventArgs)
		Dim log As String = "Target: " &amp; Convert.ToString(e.TargetControl.Name) &amp; " Event: ManipulationInertiaStarting" &amp; "  Velocities: " &amp; e.Velocities.Linear.ToString()
		_messageListBox.Items.Add(log)
	End Sub

	Private Sub InitializeComponent()
		_bluePanel = New Panel()
		_bluePanel.Name = "Blue"
		_bluePanel.BackColor = Color.Blue
		_bluePanel.Size = New Size(200, 200)
		_bluePanel.Location = New Point(20, 20)

		_messageListBox = New ListBox()
		_messageListBox.Size = New Size(750, 310)
		_messageListBox.Location = New Point(20, 240)

		Me.Controls.Add(_bluePanel)
		Me.Controls.Add(_messageListBox)
	End Sub
End Class</code></pre>

  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_Cumulative" data-uid="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.Cumulative">
          <a class="xref" href="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.Cumulative.html#C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_Cumulative">Cumulative</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the overall changes since the beginning of the manipulation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_Delta" data-uid="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.Delta">
          <a class="xref" href="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.Delta.html#C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_Delta">Delta</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the most recent changes of the current manipulation, as a <a class="xref" href="C1.Win.TouchToolKit.ManipulationDelta.html">ManipulationDelta</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_ExpansionBehavior" data-uid="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.ExpansionBehavior">
          <a class="xref" href="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.ExpansionBehavior.html#C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_ExpansionBehavior">ExpansionBehavior</a>
        </td>
        <td class="markdown level1 summary"><p>Get or sets the rate of slowdown of expansion inertia movement.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_PointerDeviceType" data-uid="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.PointerDeviceType">
          <a class="xref" href="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.PointerDeviceType.html#C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_PointerDeviceType">PointerDeviceType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.PointerDeviceType.html#C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_PointerDeviceType">PointerDeviceType</a> for the pointer device involved in the manipulation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_RotationBehavior" data-uid="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.RotationBehavior">
          <a class="xref" href="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.RotationBehavior.html#C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_RotationBehavior">RotationBehavior</a>
        </td>
        <td class="markdown level1 summary"><p>Get or sets the rate of slowdown of rotation inertia movement.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_TranslationBehavior" data-uid="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.TranslationBehavior">
          <a class="xref" href="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.TranslationBehavior.html#C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_TranslationBehavior">TranslationBehavior</a>
        </td>
        <td class="markdown level1 summary"><p>Get or sets the rate of slowdown of translation inertia movement.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_Velocities" data-uid="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.Velocities">
          <a class="xref" href="C1.Win.TouchToolKit.ManipulationInertiaStartingEventArgs.Velocities.html#C1_Win_TouchToolKit_ManipulationInertiaStartingEventArgs_Velocities">Velocities</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the rates of the most recent changes to the manipulation.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
