# GrapeCity.ActiveReports.Converters.ViewTypeVisibilityConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Converters_ViewTypeVisibilityConverter" data-uid="GrapeCity.ActiveReports.Converters.ViewTypeVisibilityConverter" class="text-break">ViewTypeVisibilityConverter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a converter that converts a <a class="xref" href="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.Model.ViewType.html">ViewType</a> to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.visibility">Visibility</a> based on the parameter.</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">ViewTypeVisibilityConverter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.data.ivalueconverter">IValueConverter</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Converters.html">GrapeCity.ActiveReports.Converters</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Wpf.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Converters_ViewTypeVisibilityConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class ViewTypeVisibilityConverter : IValueConverter</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="GrapeCity_ActiveReports_Converters_ViewTypeVisibilityConverter__ctor" data-uid="GrapeCity.ActiveReports.Converters.ViewTypeVisibilityConverter.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Converters.ViewTypeVisibilityConverter.-ctor.html#GrapeCity_ActiveReports_Converters_ViewTypeVisibilityConverter__ctor">ViewTypeVisibilityConverter()</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="GrapeCity_ActiveReports_Converters_ViewTypeVisibilityConverter_Convert_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_" data-uid="GrapeCity.ActiveReports.Converters.ViewTypeVisibilityConverter.Convert(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)">
          <a class="xref" href="GrapeCity.ActiveReports.Converters.ViewTypeVisibilityConverter.Convert.html#GrapeCity_ActiveReports_Converters_ViewTypeVisibilityConverter_Convert_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_">Convert(object, Type, object, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a <a class="xref" href="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.Model.ViewType.html">ViewType</a> value to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.visibility">Visibility</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Converters_ViewTypeVisibilityConverter_ConvertBack_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_" data-uid="GrapeCity.ActiveReports.Converters.ViewTypeVisibilityConverter.ConvertBack(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)">
          <a class="xref" href="GrapeCity.ActiveReports.Converters.ViewTypeVisibilityConverter.ConvertBack.html#GrapeCity_ActiveReports_Converters_ViewTypeVisibilityConverter_ConvertBack_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_">ConvertBack(object, Type, object, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.visibility">Visibility</a> value back to a <a class="xref" href="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.Model.ViewType.html">ViewType</a> value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
