# C1.WPF.C1MessageBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1MessageBox" data-uid="C1.WPF.C1MessageBox" class="text-break">C1MessageBox Class
</h1>
  <div class="markdown level0 summary"><p>Displays a message box.</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"><span class="xref">C1MessageBox</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1MessageBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class C1MessageBox</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module C1MessageBox</code></pre>
  </div>
  <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_C1MessageBox_ContentStyle" data-uid="C1.WPF.C1MessageBox.ContentStyle">
          <a class="xref" href="C1.WPF.C1MessageBox.ContentStyle.html#C1_WPF_C1MessageBox_ContentStyle">ContentStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.style">Style</a> that defines the appearance of the window's content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_WindowStyle" data-uid="C1.WPF.C1MessageBox.WindowStyle">
          <a class="xref" href="C1.WPF.C1MessageBox.WindowStyle.html#C1_WPF_C1MessageBox_WindowStyle">WindowStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.style">Style</a> that defines the appearance of the 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_C1MessageBox_Show_System_String_" data-uid="C1.WPF.C1MessageBox.Show(System.String)">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_">Show(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_Show_System_String_System_Action_System_Windows_MessageBoxResult__" data-uid="C1.WPF.C1MessageBox.Show(System.String,System.Action{System.Windows.MessageBoxResult})">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_System_Action_System_Windows_MessageBoxResult__">Show(string, Action&lt;MessageBoxResult&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message and calls back with the result.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_Show_System_String_System_String_" data-uid="C1.WPF.C1MessageBox.Show(System.String,System.String)">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_System_String_">Show(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message and title bar caption.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxButton_" data-uid="C1.WPF.C1MessageBox.Show(System.String,System.String,C1.WPF.C1MessageBoxButton)">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxButton_">Show(string, string, C1MessageBoxButton)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message, title bar caption and button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxButton_C1_WPF_C1MessageBoxIcon_" data-uid="C1.WPF.C1MessageBox.Show(System.String,System.String,C1.WPF.C1MessageBoxButton,C1.WPF.C1MessageBoxIcon)">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxButton_C1_WPF_C1MessageBoxIcon_">Show(string, string, C1MessageBoxButton, C1MessageBoxIcon)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message, title bar caption and icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxButton_C1_WPF_C1MessageBoxIcon_System_Action_System_Windows_MessageBoxResult__" data-uid="C1.WPF.C1MessageBox.Show(System.String,System.String,C1.WPF.C1MessageBoxButton,C1.WPF.C1MessageBoxIcon,System.Action{System.Windows.MessageBoxResult})">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxButton_C1_WPF_C1MessageBoxIcon_System_Action_System_Windows_MessageBoxResult__">Show(string, string, C1MessageBoxButton, C1MessageBoxIcon, Action&lt;MessageBoxResult&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message, title bar caption, button and icon; and calls back with the result.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxButton_System_Action_System_Windows_MessageBoxResult__" data-uid="C1.WPF.C1MessageBox.Show(System.String,System.String,C1.WPF.C1MessageBoxButton,System.Action{System.Windows.MessageBoxResult})">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxButton_System_Action_System_Windows_MessageBoxResult__">Show(string, string, C1MessageBoxButton, Action&lt;MessageBoxResult&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message, title bar caption and button; and calls back with the result.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxIcon_" data-uid="C1.WPF.C1MessageBox.Show(System.String,System.String,C1.WPF.C1MessageBoxIcon)">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxIcon_">Show(string, string, C1MessageBoxIcon)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message, title bar caption and icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxIcon_System_Action_System_Windows_MessageBoxResult__" data-uid="C1.WPF.C1MessageBox.Show(System.String,System.String,C1.WPF.C1MessageBoxIcon,System.Action{System.Windows.MessageBoxResult})">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_System_String_C1_WPF_C1MessageBoxIcon_System_Action_System_Windows_MessageBoxResult__">Show(string, string, C1MessageBoxIcon, Action&lt;MessageBoxResult&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message, title bar caption and icon; and calls back with the result.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MessageBox_Show_System_String_System_String_System_Action_System_Windows_MessageBoxResult__" data-uid="C1.WPF.C1MessageBox.Show(System.String,System.String,System.Action{System.Windows.MessageBoxResult})">
          <a class="xref" href="C1.WPF.C1MessageBox.Show.html#C1_WPF_C1MessageBox_Show_System_String_System_String_System_Action_System_Windows_MessageBoxResult__">Show(string, string, Action&lt;MessageBoxResult&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays a message box that has a message and title bar caption; and calls back with the result.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
