# GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor

## Content

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



  <h1 id="GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor" data-uid="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor" class="text-break">FlagEnumUiEditor Class
</h1>
  <div class="markdown level0 summary"><p>UITypeEditor for flag enums
This implementation has taken from <a href="http://www.codeproject.com/Articles/13793/A-UITypeEditor-for-easy-editing-of-flag-enum-prope">http://www.codeproject.com/Articles/13793/A-UITypeEditor-for-easy-editing-of-flag-enum-prope</a>
with minor refactoring</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.drawing.design.uitypeeditor">UITypeEditor</a></div>
    <div class="level2"><span class="xref">FlagEnumUiEditor</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.html">GrapeCity.ActiveReports.Viewer.Win</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Win.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FlagEnumUiEditor : UITypeEditor</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_Viewer_Win_FlagEnumUiEditor__ctor" data-uid="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.-ctor.html#GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor__ctor">FlagEnumUiEditor()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.html">FlagEnumUiEditor</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor__ctor_System_Resources_ResourceManager_" data-uid="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.#ctor(System.Resources.ResourceManager)">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.-ctor.html#GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor__ctor_System_Resources_ResourceManager_">FlagEnumUiEditor(ResourceManager)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.html">FlagEnumUiEditor</a> class.</p>
</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_Viewer_Win_FlagEnumUiEditor_EditValue_System_ComponentModel_ITypeDescriptorContext_System_IServiceProvider_System_Object_" data-uid="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.EditValue(System.ComponentModel.ITypeDescriptorContext,System.IServiceProvider,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.EditValue.html#GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor_EditValue_System_ComponentModel_ITypeDescriptorContext_System_IServiceProvider_System_Object_">EditValue(ITypeDescriptorContext, IServiceProvider, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Edits the specified object's value using the editor style indicated by the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.design.uitypeeditor.geteditstyle#system-drawing-design-uitypeeditor-geteditstyle">GetEditStyle()</a> method.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor_GetEditStyle_System_ComponentModel_ITypeDescriptorContext_" data-uid="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.GetEditStyle(System.ComponentModel.ITypeDescriptorContext)">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.GetEditStyle.html#GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor_GetEditStyle_System_ComponentModel_ITypeDescriptorContext_">GetEditStyle(ITypeDescriptorContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the editor style used by the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.design.uitypeeditor.editvalue#system-drawing-design-uitypeeditor-editvalue(system-iserviceprovider-system-object)">EditValue(IServiceProvider, object)</a> method.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
