# 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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><span class="xref">C1ExpressionEditorPanel</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></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.4.6.2.dll</h6>
  <h5 id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;ItemsListBox&quot;, Type = typeof(ListBox))]
[TemplatePart(Name = &quot;CategoriesTreeView&quot;, Type = typeof(C1TreeView))]
[TemplateVisualState(Name = &quot;MouseOver&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Disabled&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Normal&quot;, GroupName = &quot;CommonStates&quot;)]
public class C1ExpressionEditorPanel : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;ItemsListBox&quot;, Type:=GetType(ListBox))&gt;
&lt;TemplatePart(Name:=&quot;CategoriesTreeView&quot;, Type:=GetType(C1TreeView))&gt;
&lt;TemplateVisualState(Name:=&quot;MouseOver&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Disabled&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Normal&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
Public Class C1ExpressionEditorPanel
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</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 a <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.html">C1ExpressionEditorPanel</a>.</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_ButtonBackgroundProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonBackgroundProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonBackgroundProperty.html">ButtonBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonBackground.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonBackground">ButtonBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonForegroundProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonForegroundProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonForegroundProperty.html">ButtonForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonForeground.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonForeground">ButtonForeground</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_ExpressionEditorProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionEditorProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionEditorProperty.html">ExpressionEditorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionEditor.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ExpressionEditor">ExpressionEditor</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_MouseOverBrushProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.MouseOverBrush.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_PressedBrushProperty" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.PressedBrushProperty">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.PressedBrush.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_PressedBrush">PressedBrush</a> dependency property.</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_ButtonBackground" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonBackground">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonBackground.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonBackground">ButtonBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> that will be assigned to the Background of the buttons inside the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonForeground" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonForeground">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ButtonForeground.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ButtonForeground">ButtonForeground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> that will be assigned to the Foreground of the buttons inside the control.</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 the expression item categories.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ExpressionEditor" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionEditor">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ExpressionEditor.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ExpressionEditor">ExpressionEditor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets related expression editor control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_MouseOverBrush" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.MouseOverBrush">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.MouseOverBrush.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_MouseOverBrush">MouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to highlight the control when it has the mouse over.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_PressedBrush" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.PressedBrush">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.PressedBrush.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_PressedBrush">PressedBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to paint a button when it is pressed.</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_ChangeVisualStateCommon_System_Boolean_" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ChangeVisualStateCommon(System.Boolean)">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.ChangeVisualStateCommon.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_ChangeVisualStateCommon_System_Boolean_">ChangeVisualStateCommon(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Common visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Dispose" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Dispose">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.Dispose.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <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"><p>Performs cleanup operations on managed and unmanaged resources.</p>
</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"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.html">C1ExpressionEditorPanel</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.OnPropertyChanged.html#C1_WPF_ExpressionEditor_C1ExpressionEditorPanel_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_">OnPropertyChanged(DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked whenever the effective value of any dependency property has been updated.</p>
</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_IsMouseOverChanged" data-uid="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.IsMouseOverChanged">
          <a class="xref" href="C1.WPF.ExpressionEditor.C1ExpressionEditorPanel.IsMouseOverChanged.html">IsMouseOverChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">IsMouseOver</span> property has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
