# GrapeCity.ActiveReports.ViewModel.VisibilityConverter

## Content

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



  <h1 id="GrapeCity_ActiveReports_ViewModel_VisibilityConverter" data-uid="GrapeCity.ActiveReports.ViewModel.VisibilityConverter" class="text-break">VisibilityConverter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a converter that converts a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.visibility">Visibility</a> and back.</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">VisibilityConverter</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.ViewModel.html">GrapeCity.ActiveReports.ViewModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Wpf.dll</h6>
  <h5 id="GrapeCity_ActiveReports_ViewModel_VisibilityConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class VisibilityConverter : 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_ViewModel_VisibilityConverter__ctor" data-uid="GrapeCity.ActiveReports.ViewModel.VisibilityConverter.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.ViewModel.VisibilityConverter.-ctor.html#GrapeCity_ActiveReports_ViewModel_VisibilityConverter__ctor">VisibilityConverter()</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_ViewModel_VisibilityConverter_Convert_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_" data-uid="GrapeCity.ActiveReports.ViewModel.VisibilityConverter.Convert(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)">
          <a class="xref" href="GrapeCity.ActiveReports.ViewModel.VisibilityConverter.Convert.html#GrapeCity_ActiveReports_ViewModel_VisibilityConverter_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 boolean 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_ViewModel_VisibilityConverter_ConvertBack_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_" data-uid="GrapeCity.ActiveReports.ViewModel.VisibilityConverter.ConvertBack(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)">
          <a class="xref" href="GrapeCity.ActiveReports.ViewModel.VisibilityConverter.ConvertBack.html#GrapeCity_ActiveReports_ViewModel_VisibilityConverter_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 boolean.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
