# C1.Util.DX.Animation.Variable2.ValueChangedDelegate

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Animation_Variable2_ValueChangedDelegate" data-uid="C1.Util.DX.Animation.Variable2.ValueChangedDelegate" class="text-break">Variable2.ValueChangedDelegate Delegate
</h1>
  <div class="markdown level0 summary"><p>A delegate that handles events that occur when the value of an animation variable changes in the specified dimension.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Animation.html">C1.Util.DX.Animation</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.4.8.dll</h6>
  <h5 id="C1_Util_DX_Animation_Variable2_ValueChangedDelegate_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public delegate void Variable2.ValueChangedDelegate(Storyboard2 storyboard, Variable2 variable, double[] newValue, double[] previousValue, int cDimension)</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Delegate Sub Variable2.ValueChangedDelegate(storyboard As Storyboard2, variable As Variable2, newValue As Double(), previousValue As Double(), cDimension As Integer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="C1.Util.DX.Animation.Storyboard2.html">Storyboard2</a></td>
        <td><span class="parametername">storyboard</span></td>
        <td><p>The storyboard that is animating the animation variable specified by the variable parameter.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="C1.Util.DX.Animation.Variable2.html">Variable2</a></td>
        <td><span class="parametername">variable</span></td>
        <td><p>The animation variable that has been updated.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>[]</td>
        <td><span class="parametername">newValue</span></td>
        <td><p>The new value of the animation variable.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>[]</td>
        <td><span class="parametername">previousValue</span></td>
        <td><p>The previous value of the animation variable.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">cDimension</span></td>
        <td><p>The dimension in which the value of the animation variable changed.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_ValueChangedDelegate__ctor_System_Object_System_IntPtr_" data-uid="C1.Util.DX.Animation.Variable2.ValueChangedDelegate.#ctor(System.Object,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.ValueChangedDelegate.-ctor.html#C1_Util_DX_Animation_Variable2_ValueChangedDelegate__ctor_System_Object_System_IntPtr_">ValueChangedDelegate(object, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_ValueChangedDelegate_BeginInvoke_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_Variable2_System_Double___System_Double___System_Int32_System_AsyncCallback_System_Object_" data-uid="C1.Util.DX.Animation.Variable2.ValueChangedDelegate.BeginInvoke(C1.Util.DX.Animation.Storyboard2,C1.Util.DX.Animation.Variable2,System.Double[],System.Double[],System.Int32,System.AsyncCallback,System.Object)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.ValueChangedDelegate.BeginInvoke.html#C1_Util_DX_Animation_Variable2_ValueChangedDelegate_BeginInvoke_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_Variable2_System_Double___System_Double___System_Int32_System_AsyncCallback_System_Object_">BeginInvoke(Storyboard2, Variable2, double[], double[], int, AsyncCallback, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_ValueChangedDelegate_EndInvoke_System_IAsyncResult_" data-uid="C1.Util.DX.Animation.Variable2.ValueChangedDelegate.EndInvoke(System.IAsyncResult)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.ValueChangedDelegate.EndInvoke.html#C1_Util_DX_Animation_Variable2_ValueChangedDelegate_EndInvoke_System_IAsyncResult_">EndInvoke(IAsyncResult)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_ValueChangedDelegate_Invoke_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_Variable2_System_Double___System_Double___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.ValueChangedDelegate.Invoke(C1.Util.DX.Animation.Storyboard2,C1.Util.DX.Animation.Variable2,System.Double[],System.Double[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.ValueChangedDelegate.Invoke.html#C1_Util_DX_Animation_Variable2_ValueChangedDelegate_Invoke_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_Variable2_System_Double___System_Double___System_Int32_">Invoke(Storyboard2, Variable2, double[], double[], int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
