# C1.C1Preview.ActionHandlerFile

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_ActionHandlerFile" data-uid="C1.C1Preview.ActionHandlerFile" class="text-break">ActionHandlerFile Class
</h1>
  <div class="markdown level0 summary"><p>The abstract base class for action handlers performing a file operation such as save or open.</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"><a class="xref" href="C1.C1Preview.ActionHandlerBase.html">ActionHandlerBase</a></div>
    <div class="level2"><span class="xref">ActionHandlerFile</span></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.ActionHandlerFileOpen.html">ActionHandlerFileOpen</a></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.ActionHandlerFileSave.html">ActionHandlerFileSave</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.10.dll</h6>
  <h5 id="C1_C1Preview_ActionHandlerFile_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ActionHandlerFile : ActionHandlerBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class ActionHandlerFile
    Inherits ActionHandlerBase</code></pre>
  </div>
  <h5 id="C1_C1Preview_ActionHandlerFile_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>For details on the use of action handlers, see <a class="xref" href="C1.C1Preview.ActionHandlerBase.html">ActionHandlerBase</a>.</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="C1_C1Preview_ActionHandlerFile__ctor" data-uid="C1.C1Preview.ActionHandlerFile.#ctor">
          <a class="xref" href="C1.C1Preview.ActionHandlerFile.-ctor.html#C1_C1Preview_ActionHandlerFile__ctor">ActionHandlerFile()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.ActionHandlerFile.html">ActionHandlerFile</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ActionHandlerFile__ctor_System_String_" data-uid="C1.C1Preview.ActionHandlerFile.#ctor(System.String)">
          <a class="xref" href="C1.C1Preview.ActionHandlerFile.-ctor.html#C1_C1Preview_ActionHandlerFile__ctor_System_String_">ActionHandlerFile(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.ActionHandlerFile.html">ActionHandlerFile</a> class,
assigning the <a class="xref" href="C1.C1Preview.ActionHandlerFile.FileName.html#C1_C1Preview_ActionHandlerFile_FileName">FileName</a> property.</p>
</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="C1_C1Preview_ActionHandlerFile_FileName" data-uid="C1.C1Preview.ActionHandlerFile.FileName">
          <a class="xref" href="C1.C1Preview.ActionHandlerFile.FileName.html#C1_C1Preview_ActionHandlerFile_FileName">FileName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the file associated with the current <a class="xref" href="C1.C1Preview.ActionHandlerFile.html">ActionHandlerFile</a>.
If empty, a file dialog will be shown to the user when the current action handler is invoked.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.ActionHandlerFileOpen.html">ActionHandlerFileOpen</a></div>
      <div><a class="xref" href="C1.C1Preview.ActionHandlerFileSave.html">ActionHandlerFileSave</a></div>
  </div>

</div>
