# C1.WPF.Pivot.PrintPageTemplate

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Pivot_PrintPageTemplate" data-uid="C1.WPF.Pivot.PrintPageTemplate" class="text-break">PrintPageTemplate Class
</h1>
  <div class="markdown level0 summary"><p>Template control used as a container for printing.</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="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><span class="xref">PrintPageTemplate</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Pivot.html">C1.WPF.Pivot</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Pivot.dll</h6>
  <h5 id="C1_WPF_Pivot_PrintPageTemplate_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Root&quot;, Type = typeof(Grid))]
[TemplatePart(Name = &quot;FooterLeft&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;FooterCenter&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;FooterRight&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;HeaderLeft&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;HeaderCenter&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;HeaderRight&quot;, Type = typeof(Panel))]
[TemplatePart(Name = &quot;ContentBox&quot;, Type = typeof(Viewbox))]
[TemplatePart(Name = &quot;HeaderSeparator&quot;, Type = typeof(Border))]
[TemplatePart(Name = &quot;FooterSeparator&quot;, Type = typeof(Border))]
[TemplatePart(Name = &quot;PaddingGrid&quot;, Type = typeof(Grid))]
public class PrintPageTemplate : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Root&quot;, Type:=GetType(Grid))&gt;
&lt;TemplatePart(Name:=&quot;FooterLeft&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;FooterCenter&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;FooterRight&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;HeaderLeft&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;HeaderCenter&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;HeaderRight&quot;, Type:=GetType(Panel))&gt;
&lt;TemplatePart(Name:=&quot;ContentBox&quot;, Type:=GetType(Viewbox))&gt;
&lt;TemplatePart(Name:=&quot;HeaderSeparator&quot;, Type:=GetType(Border))&gt;
&lt;TemplatePart(Name:=&quot;FooterSeparator&quot;, Type:=GetType(Border))&gt;
&lt;TemplatePart(Name:=&quot;PaddingGrid&quot;, Type:=GetType(Grid))&gt;
Public Class PrintPageTemplate
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</code></pre>
  </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_WPF_Pivot_PrintPageTemplate__ctor" data-uid="C1.WPF.Pivot.PrintPageTemplate.#ctor">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.-ctor.html#C1_WPF_Pivot_PrintPageTemplate__ctor">PrintPageTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.html">PrintPageTemplate</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_ContentProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.ContentProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.ContentProperty.html">ContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Content.html#C1_WPF_Pivot_PrintPageTemplate_Content">Content</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_FooterCenterProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.FooterCenterProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.FooterCenterProperty.html">FooterCenterProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.FooterCenter.html#C1_WPF_Pivot_PrintPageTemplate_FooterCenter">FooterCenter</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_FooterLeftProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.FooterLeftProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.FooterLeftProperty.html">FooterLeftProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.FooterLeft.html#C1_WPF_Pivot_PrintPageTemplate_FooterLeft">FooterLeft</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_FooterRightProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.FooterRightProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.FooterRightProperty.html">FooterRightProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.FooterRight.html#C1_WPF_Pivot_PrintPageTemplate_FooterRight">FooterRight</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_HeaderCenterProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.HeaderCenterProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.HeaderCenterProperty.html">HeaderCenterProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.HeaderCenter.html#C1_WPF_Pivot_PrintPageTemplate_HeaderCenter">HeaderCenter</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_HeaderLeftProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.HeaderLeftProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.HeaderLeftProperty.html">HeaderLeftProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.HeaderLeft.html#C1_WPF_Pivot_PrintPageTemplate_HeaderLeft">HeaderLeft</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_HeaderRightProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.HeaderRightProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.HeaderRightProperty.html">HeaderRightProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.HeaderRight.html#C1_WPF_Pivot_PrintPageTemplate_HeaderRight">HeaderRight</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_MarginProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.MarginProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.MarginProperty.html">MarginProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Margin.html#C1_WPF_Pivot_PrintPageTemplate_Margin">Margin</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_PaddingProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.PaddingProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.PaddingProperty.html">PaddingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Padding.html#C1_WPF_Pivot_PrintPageTemplate_Padding">Padding</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_ShowFooterSeparatorProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.ShowFooterSeparatorProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.ShowFooterSeparatorProperty.html">ShowFooterSeparatorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.ShowFooterSeparator.html#C1_WPF_Pivot_PrintPageTemplate_ShowFooterSeparator">ShowFooterSeparator</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_ShowHeaderSeparatorProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.ShowHeaderSeparatorProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.ShowHeaderSeparatorProperty.html">ShowHeaderSeparatorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.ShowHeaderSeparator.html#C1_WPF_Pivot_PrintPageTemplate_ShowHeaderSeparator">ShowHeaderSeparator</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_StretchProperty" data-uid="C1.WPF.Pivot.PrintPageTemplate.StretchProperty">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.StretchProperty.html">StretchProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Stretch.html#C1_WPF_Pivot_PrintPageTemplate_Stretch">Stretch</a> dependency 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_WPF_Pivot_PrintPageTemplate_Content" data-uid="C1.WPF.Pivot.PrintPageTemplate.Content">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Content.html#C1_WPF_Pivot_PrintPageTemplate_Content">Content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the content of the page template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_FooterCenter" data-uid="C1.WPF.Pivot.PrintPageTemplate.FooterCenter">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.FooterCenter.html#C1_WPF_Pivot_PrintPageTemplate_FooterCenter">FooterCenter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text for the footer on the center of the page template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_FooterLeft" data-uid="C1.WPF.Pivot.PrintPageTemplate.FooterLeft">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.FooterLeft.html#C1_WPF_Pivot_PrintPageTemplate_FooterLeft">FooterLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text for the footer on the left side of the page template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_FooterRight" data-uid="C1.WPF.Pivot.PrintPageTemplate.FooterRight">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.FooterRight.html#C1_WPF_Pivot_PrintPageTemplate_FooterRight">FooterRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text for the footer on the right side of the page template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_HeaderCenter" data-uid="C1.WPF.Pivot.PrintPageTemplate.HeaderCenter">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.HeaderCenter.html#C1_WPF_Pivot_PrintPageTemplate_HeaderCenter">HeaderCenter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text for the header on the center of the page template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_HeaderLeft" data-uid="C1.WPF.Pivot.PrintPageTemplate.HeaderLeft">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.HeaderLeft.html#C1_WPF_Pivot_PrintPageTemplate_HeaderLeft">HeaderLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text for the header on the left side of the page template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_HeaderRight" data-uid="C1.WPF.Pivot.PrintPageTemplate.HeaderRight">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.HeaderRight.html#C1_WPF_Pivot_PrintPageTemplate_HeaderRight">HeaderRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text for the header on the right side of the page template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_IsDisposed" data-uid="C1.WPF.Pivot.PrintPageTemplate.IsDisposed">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.IsDisposed.html#C1_WPF_Pivot_PrintPageTemplate_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_Margin" data-uid="C1.WPF.Pivot.PrintPageTemplate.Margin">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Margin.html#C1_WPF_Pivot_PrintPageTemplate_Margin">Margin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the margin of the page template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_Padding" data-uid="C1.WPF.Pivot.PrintPageTemplate.Padding">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Padding.html#C1_WPF_Pivot_PrintPageTemplate_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the padding of the page template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_ShowFooterSeparator" data-uid="C1.WPF.Pivot.PrintPageTemplate.ShowFooterSeparator">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.ShowFooterSeparator.html#C1_WPF_Pivot_PrintPageTemplate_ShowFooterSeparator">ShowFooterSeparator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to show the footer separator or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_ShowHeaderSeparator" data-uid="C1.WPF.Pivot.PrintPageTemplate.ShowHeaderSeparator">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.ShowHeaderSeparator.html#C1_WPF_Pivot_PrintPageTemplate_ShowHeaderSeparator">ShowHeaderSeparator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to show the header separator or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_Stretch" data-uid="C1.WPF.Pivot.PrintPageTemplate.Stretch">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Stretch.html#C1_WPF_Pivot_PrintPageTemplate_Stretch">Stretch</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the stretch mode of the page template.</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_Pivot_PrintPageTemplate_Dispose" data-uid="C1.WPF.Pivot.PrintPageTemplate.Dispose">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Dispose.html#C1_WPF_Pivot_PrintPageTemplate_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_Dispose_System_Boolean_" data-uid="C1.WPF.Pivot.PrintPageTemplate.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Dispose.html#C1_WPF_Pivot_PrintPageTemplate_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_Finalize" data-uid="C1.WPF.Pivot.PrintPageTemplate.Finalize">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.Finalize.html#C1_WPF_Pivot_PrintPageTemplate_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.html">PrintPageTemplate</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PrintPageTemplate_OnApplyTemplate" data-uid="C1.WPF.Pivot.PrintPageTemplate.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Pivot.PrintPageTemplate.OnApplyTemplate.html#C1_WPF_Pivot_PrintPageTemplate_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
