# C1.WPF.Extended.PropertyGrid.AdvancedEditor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Extended_PropertyGrid_AdvancedEditor" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor" class="text-break">AdvancedEditor Class
</h1>
  <div class="markdown level0 summary"><p>Advanced editor which contains a button and the capability of
hosting other common PropertyGrid editors contained in a child window.</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">AdvancedEditor</span></div>
      <div class="level8"><a class="xref" href="C1.WPF.Extended.PropertyGrid.CollectionEditor.html">CollectionEditor</a></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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Extended.PropertyGrid.html">C1.WPF.Extended.PropertyGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Extended.4.6.2.dll</h6>
  <h5 id="C1_WPF_Extended_PropertyGrid_AdvancedEditor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;OpenButton&quot;, Type = typeof(Button))]
[StyleTypedProperty(Property = &quot;WindowStyle&quot;, StyleTargetType = typeof(C1Window))]
[StyleTypedProperty(Property = &quot;ButtonStyle&quot;, StyleTargetType = typeof(Button))]
public class AdvancedEditor : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;OpenButton&quot;, Type:=GetType(Button))&gt;
&lt;StyleTypedProperty(Property:=&quot;WindowStyle&quot;, StyleTargetType:=GetType(C1Window))&gt;
&lt;StyleTypedProperty(Property:=&quot;ButtonStyle&quot;, StyleTargetType:=GetType(Button))&gt;
Public Class AdvancedEditor
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</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_Extended_PropertyGrid_AdvancedEditor__ctor" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.#ctor">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.-ctor.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor__ctor">AdvancedEditor()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.html">AdvancedEditor</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_Extended_PropertyGrid_AdvancedEditor_ButtonStyleProperty" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.ButtonStyleProperty">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.ButtonStyleProperty.html">ButtonStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.ButtonStyle.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_ButtonStyle">ButtonStyle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_PropertyGrid_AdvancedEditor_EditorProperty" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.EditorProperty">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.EditorProperty.html">EditorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.Editor.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_Editor">Editor</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_PropertyGrid_AdvancedEditor_LabelProperty" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.LabelProperty">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.LabelProperty.html">LabelProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.Label.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_Label">Label</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_PropertyGrid_AdvancedEditor_WindowStyleProperty" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.WindowStyleProperty">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.WindowStyleProperty.html">WindowStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.WindowStyle.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_WindowStyle">WindowStyle</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_Extended_PropertyGrid_AdvancedEditor_ButtonStyle" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.ButtonStyle">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.ButtonStyle.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_ButtonStyle">ButtonStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style applied to the advanced editor's button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_PropertyGrid_AdvancedEditor_Editor" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.Editor">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.Editor.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_Editor">Editor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the editor used within this advanced editor control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_PropertyGrid_AdvancedEditor_Label" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.Label">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.Label.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_Label">Label</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the label of the advanced editor control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_PropertyGrid_AdvancedEditor_WindowStyle" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.WindowStyle">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.WindowStyle.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_WindowStyle">WindowStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style applied to the advanced editor's window.</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_Extended_PropertyGrid_AdvancedEditor_OnApplyTemplate" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.OnApplyTemplate.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.html">AdvancedEditor</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_PropertyGrid_AdvancedEditor_OnOpenButtonClick_System_Object_System_Windows_RoutedEventArgs_" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.OnOpenButtonClick(System.Object,System.Windows.RoutedEventArgs)">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.OnOpenButtonClick.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_OnOpenButtonClick_System_Object_System_Windows_RoutedEventArgs_">OnOpenButtonClick(object, RoutedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the open window button is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_PropertyGrid_AdvancedEditor_OnWindowCreated_C1_WPF_C1Window_" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.OnWindowCreated(C1.WPF.C1Window)">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.OnWindowCreated.html#C1_WPF_Extended_PropertyGrid_AdvancedEditor_OnWindowCreated_C1_WPF_C1Window_">OnWindowCreated(C1Window)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked after the <span class="xref">C1.WPF.C1Window</span> instance was created.</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_Extended_PropertyGrid_AdvancedEditor_WindowOpened" data-uid="C1.WPF.Extended.PropertyGrid.AdvancedEditor.WindowOpened">
          <a class="xref" href="C1.WPF.Extended.PropertyGrid.AdvancedEditor.WindowOpened.html">WindowOpened</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when child window is opened.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
