# C1.Win.C1Editor.C1Editor.CustomDialogs

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Editor_C1Editor_CustomDialogs_" data-uid="C1.Win.C1Editor.C1Editor.CustomDialogs*">CustomDialogs Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Editor_C1Editor_CustomDialogs_" data-uid="C1.Win.C1Editor.C1Editor.CustomDialogs*"></a>
<h4 id="C1_Win_C1Editor_C1Editor_CustomDialogs" data-uid="C1.Win.C1Editor.C1Editor.CustomDialogs">CustomDialogs</h4>
<div class="markdown level1 summary"><p>Allows user-defined dialog boxes such as
Find/Replace, Format, Insert table, and others to be used.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public CustomDialogs CustomDialogs { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public ReadOnly Property CustomDialogs As CustomDialogs</code></pre>
</div>
<h5 id="C1_Win_C1Editor_C1Editor_CustomDialogs_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="C1.Win.C1Editor.C1Editor.html">C1Editor</a> contains several dialogs used to perform
actions such as search/replace, inserting images, tables, and so on.</p>
<p>To replace one or more of the built-in dialogs with your own custom ones,
follow these steps:</p>
<p>1. Implement the custom dialog making sure it supports the appropriate
interface (for example <a class="xref" href="C1.Win.C1Editor.UICustomization.IFindReplaceDialog.html">IFindReplaceDialog</a>).</p>
<p>2. Assign an instance of the custom dialog to the appropriate member of
the <a class="xref" href="C1.Win.C1Editor.C1Editor.CustomDialogs.html#C1_Win_C1Editor_C1Editor_CustomDialogs">CustomDialogs</a> property.</p>
</div>
<h5 id="C1_Win_C1Editor_C1Editor_CustomDialogs_examples">Examples</h5>
<p>The code below replaces the built-in bookmark and find/replace dialogs with
customized versions of the dialogs.</p>
<pre><code class="lang-csharp">private void InitCustomDialogs()
{
  _editor.CustomDialogs.BookmarkDialog = new BookmarkEditorForm();
  _editor.CustomDialogs.FindReplaceDialog = new FindReplaceForm();
}</code></pre>

</div>
