# C1.WPF.Core.EnhancedValidationVisualStateManager

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Core_EnhancedValidationVisualStateManager" data-uid="C1.WPF.Core.EnhancedValidationVisualStateManager" class="text-break">EnhancedValidationVisualStateManager Class
</h1>
  <div class="markdown level0 summary"><p>Custom <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.visualstatemanager">VisualStateManager</a> that intercepts validation states raised by the system
and changes focus state to consider whether the focus is within the control
and allows simplifying the development of controls that aren't just textbox but a combination of textbox and buttons or other elements.</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.windows.visualstatemanager">VisualStateManager</a></div>
    <div class="level2"><span class="xref">EnhancedValidationVisualStateManager</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Core.html">C1.WPF.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Core.dll</h6>
  <h5 id="C1_WPF_Core_EnhancedValidationVisualStateManager_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class EnhancedValidationVisualStateManager : VisualStateManager</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class EnhancedValidationVisualStateManager
    Inherits VisualStateManager</code></pre>
  </div>
  <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_WPF_Core_EnhancedValidationVisualStateManager__ctor" data-uid="C1.WPF.Core.EnhancedValidationVisualStateManager.#ctor">
          <a class="xref" href="C1.WPF.Core.EnhancedValidationVisualStateManager.-ctor.html#C1_WPF_Core_EnhancedValidationVisualStateManager__ctor">EnhancedValidationVisualStateManager()</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_WPF_Core_EnhancedValidationVisualStateManager_GoToStateCore_System_Windows_FrameworkElement_System_Windows_FrameworkElement_System_String_System_Windows_VisualStateGroup_System_Windows_VisualState_System_Boolean_" data-uid="C1.WPF.Core.EnhancedValidationVisualStateManager.GoToStateCore(System.Windows.FrameworkElement,System.Windows.FrameworkElement,System.String,System.Windows.VisualStateGroup,System.Windows.VisualState,System.Boolean)">
          <a class="xref" href="C1.WPF.Core.EnhancedValidationVisualStateManager.GoToStateCore.html#C1_WPF_Core_EnhancedValidationVisualStateManager_GoToStateCore_System_Windows_FrameworkElement_System_Windows_FrameworkElement_System_String_System_Windows_VisualStateGroup_System_Windows_VisualState_System_Boolean_">GoToStateCore(FrameworkElement, FrameworkElement, string, VisualStateGroup, VisualState, bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
