# C1.WPF.SpellChecker.BadWordEventArgs.Dialog

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_SpellChecker_BadWordEventArgs_Dialog_" data-uid="C1.WPF.SpellChecker.BadWordEventArgs.Dialog*">Dialog Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_SpellChecker_BadWordEventArgs_Dialog_" data-uid="C1.WPF.SpellChecker.BadWordEventArgs.Dialog*"></a>
<h4 id="C1_WPF_SpellChecker_BadWordEventArgs_Dialog" data-uid="C1.WPF.SpellChecker.BadWordEventArgs.Dialog">Dialog</h4>
<div class="markdown level1 summary"><p>Gets a reference to the <a class="xref" href="C1.WPF.SpellChecker.ISpellDialog.html">ISpellDialog</a> that is being used to spell-check a control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Control Dialog { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property Dialog As Control</code></pre>
</div>
<h5 id="C1_WPF_SpellChecker_BadWordEventArgs_Dialog_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If this parameter is null, then no spell dialog is active and the bad word was found in
as-you-type mode.</p>
</div>
</div>
