# C1.WPF.ExpressionEditor.C1ExpressionEditorPanel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel" class="text-break">C1ExpressionEditorPanel Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.html">C1ExpressionEditorPanel</a> control provides <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditor.html">C1ExpressionEditor</a> by panel of useful tools.
It provides a list of predefined and dynamic elements that can be used in expression.</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"><span class="xref">C1ExpressionEditorPanel</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IAutomationProperties</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.ExpressionEditor.html">C1.WPF.ExpressionEditor</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ExpressionEditor.dll</h6>
  <h5 id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[StyleTypedProperty(Property = &quot;ButtonStyle&quot;, StyleTargetType = typeof(C1Button))]
[StyleTypedProperty(Property = &quot;CategoriesTreeViewStyle&quot;, StyleTargetType = typeof(C1TreeView))]
[StyleTypedProperty(Property = &quot;ExpressionItemsListViewStyle&quot;, StyleTargetType = typeof(C1ListView))]
[StyleTypedProperty(Property = &quot;DescriptionPanelStyle&quot;, StyleTargetType = typeof(C1Border))]
[TemplatePart(Name = &quot;ItemsListView&quot;, Type = typeof(C1ListView))]
public class C1ExpressionEditorPanel : C1View, IAutomationProperties</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;StyleTypedProperty(Property:=&quot;ButtonStyle&quot;, StyleTargetType:=GetType(C1Button))&gt;
&lt;StyleTypedProperty(Property:=&quot;CategoriesTreeViewStyle&quot;, StyleTargetType:=GetType(C1TreeView))&gt;
&lt;StyleTypedProperty(Property:=&quot;ExpressionItemsListViewStyle&quot;, StyleTargetType:=GetType(C1ListView))&gt;
&lt;StyleTypedProperty(Property:=&quot;DescriptionPanelStyle&quot;, StyleTargetType:=GetType(C1Border))&gt;
&lt;TemplatePart(Name:=&quot;ItemsListView&quot;, Type:=GetType(C1ListView))&gt;
Public Class C1ExpressionEditorPanel
    Inherits C1View
    Implements IAutomationProperties</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="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel__ctor" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.#ctor">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.-ctor.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel__ctor">C1ExpressionEditorPanel()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.html">C1ExpressionEditorPanel</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_AutoGenerateCategoriesProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.AutoGenerateCategoriesProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.AutoGenerateCategoriesProperty.html">AutoGenerateCategoriesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.AutoGenerateCategories.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_AutoGenerateCategories">AutoGenerateCategories</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonStyleProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonStyleProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonStyleProperty.html">ButtonStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonStyle.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonStyle">ButtonStyle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_CategoriesProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.CategoriesProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.CategoriesProperty.html">CategoriesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Categories.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Categories">Categories</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_CategoriesTreeViewStyleProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.CategoriesTreeViewStyleProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.CategoriesTreeViewStyleProperty.html">CategoriesTreeViewStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.CategoriesTreeViewStyle.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_CategoriesTreeViewStyle">CategoriesTreeViewStyle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_DescriptionPanelStyleProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.DescriptionPanelStyleProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.DescriptionPanelStyleProperty.html">DescriptionPanelStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.DescriptionPanelStyle.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_DescriptionPanelStyle">DescriptionPanelStyle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_EditorProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.EditorProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.EditorProperty.html">EditorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Editor.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Editor">Editor</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ExpressionItemsListViewStyleProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionItemsListViewStyleProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionItemsListViewStyleProperty.html">ExpressionItemsListViewStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionItemsListViewStyle.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ExpressionItemsListViewStyle">ExpressionItemsListViewStyle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel__autoGenerateCategories" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel._autoGenerateCategories">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel._autoGenerateCategories.html">_autoGenerateCategories</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Categories.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Categories">Categories</a>
property should be populated automatically.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_AutoGenerateCategories" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.AutoGenerateCategories">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.AutoGenerateCategories.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_AutoGenerateCategories">AutoGenerateCategories</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether Categories
property should be populated automatically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_AutomationEnabled" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.AutomationEnabled">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.AutomationEnabled.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_AutomationEnabled">AutomationEnabled</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonStyle" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonStyle">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonStyle.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonStyle">ButtonStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style for all buttons.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Categories" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Categories">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Categories.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Categories">Categories</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression item categories.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_CategoriesTreeViewStyle" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.CategoriesTreeViewStyle">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.CategoriesTreeViewStyle.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_CategoriesTreeViewStyle">CategoriesTreeViewStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style for categories tree view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_DescriptionPanelStyle" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.DescriptionPanelStyle">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.DescriptionPanelStyle.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_DescriptionPanelStyle">DescriptionPanelStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style for description panel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Editor" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Editor">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Editor.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Editor">Editor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditor.html">C1ExpressionEditor</a> which dynamically produce an expression and get the result of the expression.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ExpressionItemsListViewStyle" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionItemsListViewStyle">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionItemsListViewStyle.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ExpressionItemsListViewStyle">ExpressionItemsListViewStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style for expression items list view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_InsertItem" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.InsertItem">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.InsertItem.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_InsertItem">InsertItem</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a command that inserts expression item to attached expression editor.
Returns a command that inserts an expression element into the attached expression editor.</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="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Dispose_System_Boolean_" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Dispose.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_OnApplyTemplate" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.OnApplyTemplate">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.OnApplyTemplate.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_OnCreateAutomationPeer" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.OnCreateAutomationPeer">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.OnCreateAutomationPeer.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_OnCreateAutomationPeer">OnCreateAutomationPeer()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_AutoGeneratingCategory" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.AutoGeneratingCategory">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.AutoGeneratingCategory.html">AutoGeneratingCategory</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when an auto-generated category is being created.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_CategoriesAutoGenerated" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.CategoriesAutoGenerated">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.CategoriesAutoGenerated.html">CategoriesAutoGenerated</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Categories.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Categories">Categories</a> auto generated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_EditorChanged" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.EditorChanged">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.EditorChanged.html">EditorChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Editor.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Editor">Editor</a> changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
