# C1.Util.DX.Animation.Variable2.Set1_VariableChangeHandler

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Animation_Variable2_Set1_VariableChangeHandler_" data-uid="C1.Util.DX.Animation.Variable2.Set1_VariableChangeHandler*">Set1_VariableChangeHandler Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Animation_Variable2_Set1_VariableChangeHandler_" data-uid="C1.Util.DX.Animation.Variable2.Set1_VariableChangeHandler*"></a>
<h4 id="C1_Util_DX_Animation_Variable2_Set1_VariableChangeHandler_C1_Util_DX_Animation_Variable2_Value1ChangedDelegate_System_Boolean_" data-uid="C1.Util.DX.Animation.Variable2.Set1_VariableChangeHandler(C1.Util.DX.Animation.Variable2.Value1ChangedDelegate,System.Boolean)">Set1_VariableChangeHandler(Value1ChangedDelegate, bool)</h4>
<div class="markdown level1 summary"><p>Specifies a handler for changes to the value of the animation variable.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Set1_VariableChangeHandler(Variable2.Value1ChangedDelegate valueChangedHandler, bool fRegisterForNextAnimationEvent = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Set1_VariableChangeHandler(valueChangedHandler As Variable2.Value1ChangedDelegate, Optional fRegisterForNextAnimationEvent As Boolean = False)</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.Variable2.html">Variable2</a>.<a class="xref" href="C1.Util.DX.Animation.Variable2.Value1ChangedDelegate.html">Value1ChangedDelegate</a></td>
      <td><span class="parametername">valueChangedHandler</span></td>
      <td><p>The handler for changes to the value of the animation variable.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">fRegisterForNextAnimationEvent</span></td>
      <td><p>If TRUE, specifies that the EstimateNextEventTime method will incorporate handler into its estimate of the time interval until the next animation event.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
