# GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.EditValue

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor_EditValue_" data-uid="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.EditValue*">EditValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Win_FlagEnumUiEditor_EditValue_" data-uid="GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor.EditValue*"></a>
<h4 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)">EditValue(ITypeDescriptorContext, IServiceProvider, object)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.itypedescriptorcontext">ITypeDescriptorContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.itypedescriptorcontext">ITypeDescriptorContext</a> that can be used to gain additional context information.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></td>
      <td><span class="parametername">provider</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a> that this editor can use to obtain services.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The object to edit.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><p>The new value of the object. If the value of the object has not changed, this should return the same object it was passed.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.design.uitypeeditor.editvalue#system-drawing-design-uitypeeditor-editvalue(system-componentmodel-itypedescriptorcontext-system-iserviceprovider-system-object)">UITypeEditor.EditValue(ITypeDescriptorContext, IServiceProvider, object)</a></div>
</div>
