# C1.WPF.Core.ViewEx

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Core_ViewEx" data-uid="C1.WPF.Core.ViewEx" class="text-break">ViewEx Class
</h1>
  <div class="markdown level0 summary"><p>View extensions</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"><span class="xref">ViewEx</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_ViewEx_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class ViewEx</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module ViewEx</code></pre>
  </div>
  <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_ViewEx_GetAllParents_System_Windows_FrameworkElement_" data-uid="C1.WPF.Core.ViewEx.GetAllParents(System.Windows.FrameworkElement)">
          <a class="xref" href="C1.WPF.Core.ViewEx.GetAllParents.html#C1_WPF_Core_ViewEx_GetAllParents_System_Windows_FrameworkElement_">GetAllParents(FrameworkElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns all the parents in the visual tree</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_ViewEx_SetStyle_System_Windows_FrameworkElement_System_Windows_Style_" data-uid="C1.WPF.Core.ViewEx.SetStyle(System.Windows.FrameworkElement,System.Windows.Style)">
          <a class="xref" href="C1.WPF.Core.ViewEx.SetStyle.html#C1_WPF_Core_ViewEx_SetStyle_System_Windows_FrameworkElement_System_Windows_Style_">SetStyle(FrameworkElement, Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.style">Style</a> to the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></p>
</td>
      </tr>
    </tbody>
  </table>

</div>
