# C1.WPF.FlexGrid.SortDialog

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_SortDialog" data-uid="C1.WPF.FlexGrid.SortDialog" class="text-break">SortDialog Class
</h1>
  <div class="markdown level0 summary"><p>Dialog used to edit the grid's sort parameters.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.contentcontrol">ContentControl</a></div>
    <div class="level8"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.usercontrol">UserControl</a></div>
    <div class="level9"><span class="xref">SortDialog</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.windows.markup.iaddchild">IAddChild</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.icomponentconnector">IComponentConnector</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexSheet.4.6.2.dll</h6>
  <h5 id="C1_WPF_FlexGrid_SortDialog_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SortDialog : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IComponentConnector</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SortDialog
    Inherits UserControl
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IComponentConnector</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_FlexGrid_SortDialog__ctor" data-uid="C1.WPF.FlexGrid.SortDialog.#ctor">
          <a class="xref" href="C1.WPF.FlexGrid.SortDialog.-ctor.html#C1_WPF_FlexGrid_SortDialog__ctor">SortDialog()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.FlexGrid.SortDialog.html">SortDialog</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_SortDialog__ctor_C1_WPF_FlexGrid_C1FlexSheet_" data-uid="C1.WPF.FlexGrid.SortDialog.#ctor(C1.WPF.FlexGrid.C1FlexSheet)">
          <a class="xref" href="C1.WPF.FlexGrid.SortDialog.-ctor.html#C1_WPF_FlexGrid_SortDialog__ctor_C1_WPF_FlexGrid_C1FlexSheet_">SortDialog(C1FlexSheet)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.FlexGrid.SortDialog.html">SortDialog</a>.</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_FlexGrid_SortDialog_Close_System_Boolean_" data-uid="C1.WPF.FlexGrid.SortDialog.Close(System.Boolean)">
          <a class="xref" href="C1.WPF.FlexGrid.SortDialog.Close.html#C1_WPF_FlexGrid_SortDialog_Close_System_Boolean_">Close(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Closes the dialog and raises the <a class="xref" href="C1.WPF.FlexGrid.SortDialog.DialogClosed.html">DialogClosed</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_SortDialog_InitializeComponent" data-uid="C1.WPF.FlexGrid.SortDialog.InitializeComponent">
          <a class="xref" href="C1.WPF.FlexGrid.SortDialog.InitializeComponent.html#C1_WPF_FlexGrid_SortDialog_InitializeComponent">InitializeComponent()</a>
        </td>
        <td class="markdown level1 summary"><p>InitializeComponent</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_SortDialog_OnDialogClosed_System_ComponentModel_CancelEventArgs_" data-uid="C1.WPF.FlexGrid.SortDialog.OnDialogClosed(System.ComponentModel.CancelEventArgs)">
          <a class="xref" href="C1.WPF.FlexGrid.SortDialog.OnDialogClosed.html#C1_WPF_FlexGrid_SortDialog_OnDialogClosed_System_ComponentModel_CancelEventArgs_">OnDialogClosed(CancelEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.WPF.FlexGrid.SortDialog.DialogClosed.html">DialogClosed</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_SortDialog_Show" data-uid="C1.WPF.FlexGrid.SortDialog.Show">
          <a class="xref" href="C1.WPF.FlexGrid.SortDialog.Show.html#C1_WPF_FlexGrid_SortDialog_Show">Show()</a>
        </td>
        <td class="markdown level1 summary"><p>Shows the dialog to allow users to edit the sort parameters.</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_FlexGrid_SortDialog_DialogClosed" data-uid="C1.WPF.FlexGrid.SortDialog.DialogClosed">
          <a class="xref" href="C1.WPF.FlexGrid.SortDialog.DialogClosed.html">DialogClosed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the user closes the dialog.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
