# C1.Win.IEmbeddedEditor.GetEditStyle

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_IEmbeddedEditor_GetEditStyle_" data-uid="C1.Win.IEmbeddedEditor.GetEditStyle*">GetEditStyle Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_IEmbeddedEditor_GetEditStyle_" data-uid="C1.Win.IEmbeddedEditor.GetEditStyle*"></a>
<h4 id="C1_Win_IEmbeddedEditor_GetEditStyle" data-uid="C1.Win.IEmbeddedEditor.GetEditStyle">GetEditStyle()</h4>
<div class="markdown level1 summary"><p>Gets the editor style, which determines the type of button that is displayed in
the cell before and during editing (DropDown, Modal, or None).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">UITypeEditorEditStyle GetEditStyle()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function GetEditStyle() As UITypeEditorEditStyle</code></pre>
</div>
<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.drawing.design.uitypeeditoreditstyle">UITypeEditorEditStyle</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_IEmbeddedEditor_GetEditStyle_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The default handler returns <b>DropDown</b> for ComboBoxes, DateTimePickers, and
UpDown controls. It returns <b>None</b> for other control types.</p>
<p>The <b>UITypeEditorEditStyle</b> enumeration is defined in the <b>System.Drawing.Design</b>
namespace. The available settings are <b>DropDown</b>, <b>Modal</b>, and <b>None</b>.</p>
</div>
</div>
