# C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Animation_Manager2_PriorityComparisonDelegate" data-uid="C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate" class="text-break">Manager2.PriorityComparisonDelegate Delegate
</h1>
  <div class="markdown level0 summary"><p>A delegate used to resolve scheduling conflicts.</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.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_Animation_Manager2_PriorityComparisonDelegate_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public delegate bool Manager2.PriorityComparisonDelegate(Storyboard2 scheduledStoryboard, Storyboard2 newStoryboard, PriorityEffect priorityEffect)</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Delegate Function Manager2.PriorityComparisonDelegate(scheduledStoryboard As Storyboard2, newStoryboard As Storyboard2, priorityEffect As PriorityEffect) As Boolean</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">scheduledStoryboard</span></td>
        <td><p>The scheduled storyboard.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="C1.Util.DX.Animation.Storyboard2.html">Storyboard2</a></td>
        <td><span class="parametername">newStoryboard</span></td>
        <td><p>The new storyboard.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="C1.Util.DX.Animation.PriorityEffect.html">PriorityEffect</a></td>
        <td><span class="parametername">priorityEffect</span></td>
        <td><p>The priority effect.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td><p><code>true</code> if newStoryboard has priority. <code>false</code> if scheduledStoryboard has priority</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_Manager2_PriorityComparisonDelegate__ctor_System_Object_System_IntPtr_" data-uid="C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate.#ctor(System.Object,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate.-ctor.html#C1_Util_DX_Animation_Manager2_PriorityComparisonDelegate__ctor_System_Object_System_IntPtr_">PriorityComparisonDelegate(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_Manager2_PriorityComparisonDelegate_BeginInvoke_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_PriorityEffect_System_AsyncCallback_System_Object_" data-uid="C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate.BeginInvoke(C1.Util.DX.Animation.Storyboard2,C1.Util.DX.Animation.Storyboard2,C1.Util.DX.Animation.PriorityEffect,System.AsyncCallback,System.Object)">
          <a class="xref" href="C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate.BeginInvoke.html#C1_Util_DX_Animation_Manager2_PriorityComparisonDelegate_BeginInvoke_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_PriorityEffect_System_AsyncCallback_System_Object_">BeginInvoke(Storyboard2, Storyboard2, PriorityEffect, AsyncCallback, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Manager2_PriorityComparisonDelegate_EndInvoke_System_IAsyncResult_" data-uid="C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate.EndInvoke(System.IAsyncResult)">
          <a class="xref" href="C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate.EndInvoke.html#C1_Util_DX_Animation_Manager2_PriorityComparisonDelegate_EndInvoke_System_IAsyncResult_">EndInvoke(IAsyncResult)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Manager2_PriorityComparisonDelegate_Invoke_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_PriorityEffect_" data-uid="C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate.Invoke(C1.Util.DX.Animation.Storyboard2,C1.Util.DX.Animation.Storyboard2,C1.Util.DX.Animation.PriorityEffect)">
          <a class="xref" href="C1.Util.DX.Animation.Manager2.PriorityComparisonDelegate.Invoke.html#C1_Util_DX_Animation_Manager2_PriorityComparisonDelegate_Invoke_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_Storyboard2_C1_Util_DX_Animation_PriorityEffect_">Invoke(Storyboard2, Storyboard2, PriorityEffect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
