# C1.Win.C1Editor.ToolStrips.C1EditorToolStripBase.Editor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripBase_Editor_" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripBase.Editor*">Editor Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripBase_Editor_" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripBase.Editor*"></a>
<h4 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripBase_Editor" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripBase.Editor">Editor</h4>
<div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Win.C1Editor.C1Editor.html">C1Editor</a> control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(true)]
public C1Editor Editor { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(True)&gt;
Public Property Editor As C1Editor</code></pre>
</div>
<h5 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripBase_Editor_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Set this property to a value to link a descendant of C1EditorToolStripBase type with the <a class="xref" href="C1.Win.C1Editor.C1Editor.html">C1Editor</a> control.</p>
</div>
<h5 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripBase_Editor_examples">Examples</h5>
<p>The following code example demonstrates how to use Editor property to link a <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripStyle.html">C1EditorToolStripStyle</a> to a <a class="xref" href="C1.Win.C1Editor.C1Editor.html">C1Editor</a>.</p>
<pre><code class="lang-csharp">private void Form1_Load(object sender, EventArgs e)
{
     C1EditorToolStripStyle toolStrip = new C1EditorToolStripStyle();
     toolStrip.Editor = c1Editor1;
     this.Controls.Add(toolStrip);
}</code></pre>

</div>
