# GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions

## Content

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



  <h1 id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions" class="text-break">InitializationOptions Class
</h1>
  <div class="markdown level0 summary"><p>Represents an options can be set during initialization.</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">InitializationOptions</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.html">GrapeCity.ActiveReports.Blazor.Viewer</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Blazor.Viewer.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InitializationOptions</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <code>InitializationOptions</code> class provides various properties to configure the initial settings for the viewer, including report ID, parameters, zoom settings, and localization.</p>
</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="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions__ctor" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.-ctor.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions__ctor">InitializationOptions()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <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="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_Action" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.Action">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.Action.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_Action">Action</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the callback invoked before the Viewer opens a hyperlink, bookmark link, drill down report, or toggles report control visibility.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_AutoBackgroundColor" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.AutoBackgroundColor">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.AutoBackgroundColor.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_AutoBackgroundColor">AutoBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the view area background color is filled with the report body color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_AvailableExports" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.AvailableExports">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.AvailableExports.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_AvailableExports">AvailableExports</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets custom default settings for exports, formatted by export type and setting name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DefaultExportSettings" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DefaultExportSettings">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DefaultExportSettings.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DefaultExportSettings">DefaultExportSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets custom default settings for exports, formatted by export type and setting name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DisplayMode" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DisplayMode">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DisplayMode.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DisplayMode">DisplayMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the initial display mode of the Viewer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DocumentLoaded" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DocumentLoaded">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DocumentLoaded.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DocumentLoaded">DocumentLoaded</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the callback invoked when a document is fully loaded on the server.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_Error" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.Error">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.Error.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_Error">Error</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the callback invoked when an error occurs during the process of displaying the report.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_HideErrors" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.HideErrors">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.HideErrors.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_HideErrors">HideErrors</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to show errors in the Viewer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_InitialZoomMode" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.InitialZoomMode">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.InitialZoomMode.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_InitialZoomMode">InitialZoomMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the initial zoom mode settings, providing control over how content is scaled on initial display.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_Locale" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.Locale">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.Locale.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_Locale">Locale</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the locale used for displaying UI elements in the Viewer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_LocaleData" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.LocaleData">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.LocaleData.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_LocaleData">LocaleData</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the JSON string containing localization strings for the Viewer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_LocaleUri" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.LocaleUri">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.LocaleUri.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_LocaleUri">LocaleUri</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the URL of the file containing localization strings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_OnAction" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.OnAction">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.OnAction.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_OnAction">OnAction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the callback that is triggered before the Viewer executes an action.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_PanelsLocation" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.PanelsLocation">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.PanelsLocation.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_PanelsLocation">PanelsLocation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of various panels (search, parameters, etc.) within the Viewer. Default is 'toolbar'.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ParametersPanel" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ParametersPanel">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ParametersPanel.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ParametersPanel">ParametersPanel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the settings for the parameters panel, allowing customization of its behavior and appearance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_RenderFormat" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.RenderFormat">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.RenderFormat.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_RenderFormat">RenderFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the report render mode.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_RenderMode" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.RenderMode">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.RenderMode.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_RenderMode">RenderMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the initial rendering mode of the Viewer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportID" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportID">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportID.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportID">ReportID</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the identifier of the report to be displayed by the Viewer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportItemsStyles" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportItemsStyles">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportItemsStyles.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportItemsStyles">ReportItemsStyles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the custom CSS styles that will be applied to the report items.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportLoaded" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportLoaded">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportLoaded.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportLoaded">ReportLoaded</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the callback invoked when the Viewer has fully loaded the report's information.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportParameters" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportParameters">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportParameters.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportParameters">ReportParameters</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the array of name-value pairs that describe the parameter values used to run the report.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportService" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportService">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.ReportService.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_ReportService">ReportService</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the settings for connecting to the Web API used by the Viewer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_Themes" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.Themes">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.Themes.html#GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_Themes">Themes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the UI theme for the Viewer.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
