# C1.WPF.ExpressionEditor.ExpressionEditorCollection.Add

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_ExpressionEditor_ExpressionEditorCollection_Add_" data-uid="C1.WPF.ExpressionEditor.ExpressionEditorCollection.Add*">Add Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_ExpressionEditor_ExpressionEditorCollection_Add_" data-uid="C1.WPF.ExpressionEditor.ExpressionEditorCollection.Add*"></a>
<h4 id="C1_WPF_ExpressionEditor_ExpressionEditorCollection_Add_System_String_C1_WPF_ExpressionEditor_C1ExpressionEditor_" data-uid="C1.WPF.ExpressionEditor.ExpressionEditorCollection.Add(System.String,C1.WPF.ExpressionEditor.C1ExpressionEditor)">Add(string, C1ExpressionEditor)</h4>
<div class="markdown level1 summary"><p>Add an expression editor to the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Add(string columnName, C1ExpressionEditor editor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Add(columnName As String, editor As C1ExpressionEditor)</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.string">string</a></td>
      <td><span class="parametername">columnName</span></td>
      <td><p>The column name of the grid.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditor.html">C1ExpressionEditor</a></td>
      <td><span class="parametername">editor</span></td>
      <td><p>The expression editor.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
