# GrapeCity.ActiveReports.PrinterSettings.UseXpDialog

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_PrinterSettings_UseXpDialog_" data-uid="GrapeCity.ActiveReports.PrinterSettings.UseXpDialog*">UseXpDialog Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PrinterSettings_UseXpDialog_" data-uid="GrapeCity.ActiveReports.PrinterSettings.UseXpDialog*"></a>
<h4 id="GrapeCity_ActiveReports_PrinterSettings_UseXpDialog" data-uid="GrapeCity.ActiveReports.PrinterSettings.UseXpDialog">UseXpDialog</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the XP style print dialog should be used.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool UseXpDialog { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> to use the XP style print dialog; otherwise, <code>false</code> to use the default print dialog of the current operating system.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PrinterSettings_UseXpDialog_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The XP style print dialog provides a user interface consistent with Windows XP, offering a simpler and possibly more familiar option for users accustomed
to that environment. This property allows applications to maintain a consistent user experience across different versions of Windows by opting for the
classic XP style dialog. It is important to note that while the XP style dialog may offer a nostalgic or consistent experience for some users, newer versions
of the print dialog provide enhancements and features not available in the XP style dialog.
Consider the target audience and the specific needs of the application when deciding whether to enable this option.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PrinterSettings_UseXpDialog_examples">Examples</h5>
<p>This example demonstrates how to enable the XP style print dialog:</p>
<pre><code class="lang-csharp">var printerSettings = new GrapeCity.ActiveReports.PrinterSettings();
printerSettings.UseXpDialog = true;
// Proceed with printing operations</code></pre>

</div>
