# C1.WPF.Pivot.PivotMarginOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Pivot_PivotMarginOptions" data-uid="C1.WPF.Pivot.PivotMarginOptions" class="text-break">PivotMarginOptions Class
</h1>
  <div class="markdown level0 summary"><p>Control used to configure the margin options for FlexPivot report.</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">PivotMarginOptions</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_PivotMarginOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Root&quot;, Type = typeof(Grid))]
[TemplatePart(Name = &quot;TopMarginEditor&quot;, Type = typeof(C1NumericBox))]
[TemplatePart(Name = &quot;LeftMarginEditor&quot;, Type = typeof(C1NumericBox))]
[TemplatePart(Name = &quot;BottomMarginEditor&quot;, Type = typeof(C1NumericBox))]
[TemplatePart(Name = &quot;RightMarginEditor&quot;, Type = typeof(C1NumericBox))]
[TemplatePart(Name = &quot;TopPaddingEditor&quot;, Type = typeof(C1NumericBox))]
[TemplatePart(Name = &quot;LeftPaddingEditor&quot;, Type = typeof(C1NumericBox))]
[TemplatePart(Name = &quot;BottomPaddingEditor&quot;, Type = typeof(C1NumericBox))]
[TemplatePart(Name = &quot;RightPaddingEditor&quot;, Type = typeof(C1NumericBox))]
public class PivotMarginOptions : 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;TopMarginEditor&quot;, Type:=GetType(C1NumericBox))&gt;
&lt;TemplatePart(Name:=&quot;LeftMarginEditor&quot;, Type:=GetType(C1NumericBox))&gt;
&lt;TemplatePart(Name:=&quot;BottomMarginEditor&quot;, Type:=GetType(C1NumericBox))&gt;
&lt;TemplatePart(Name:=&quot;RightMarginEditor&quot;, Type:=GetType(C1NumericBox))&gt;
&lt;TemplatePart(Name:=&quot;TopPaddingEditor&quot;, Type:=GetType(C1NumericBox))&gt;
&lt;TemplatePart(Name:=&quot;LeftPaddingEditor&quot;, Type:=GetType(C1NumericBox))&gt;
&lt;TemplatePart(Name:=&quot;BottomPaddingEditor&quot;, Type:=GetType(C1NumericBox))&gt;
&lt;TemplatePart(Name:=&quot;RightPaddingEditor&quot;, Type:=GetType(C1NumericBox))&gt;
Public Class PivotMarginOptions
    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_PivotMarginOptions__ctor" data-uid="C1.WPF.Pivot.PivotMarginOptions.#ctor">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.-ctor.html#C1_WPF_Pivot_PivotMarginOptions__ctor">PivotMarginOptions()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.html">PivotMarginOptions</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_PivotMarginOptions_BottomMarginProperty" data-uid="C1.WPF.Pivot.PivotMarginOptions.BottomMarginProperty">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.BottomMarginProperty.html">BottomMarginProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.BottomMargin.html#C1_WPF_Pivot_PivotMarginOptions_BottomMargin">BottomMargin</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_BottomPaddingProperty" data-uid="C1.WPF.Pivot.PivotMarginOptions.BottomPaddingProperty">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.BottomPaddingProperty.html">BottomPaddingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.BottomPadding.html#C1_WPF_Pivot_PivotMarginOptions_BottomPadding">BottomPadding</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_LeftMarginProperty" data-uid="C1.WPF.Pivot.PivotMarginOptions.LeftMarginProperty">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.LeftMarginProperty.html">LeftMarginProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.LeftMargin.html#C1_WPF_Pivot_PivotMarginOptions_LeftMargin">LeftMargin</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_LeftPaddingProperty" data-uid="C1.WPF.Pivot.PivotMarginOptions.LeftPaddingProperty">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.LeftPaddingProperty.html">LeftPaddingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.LeftPadding.html#C1_WPF_Pivot_PivotMarginOptions_LeftPadding">LeftPadding</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_RightMarginProperty" data-uid="C1.WPF.Pivot.PivotMarginOptions.RightMarginProperty">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.RightMarginProperty.html">RightMarginProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.RightMargin.html#C1_WPF_Pivot_PivotMarginOptions_RightMargin">RightMargin</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_RightPaddingProperty" data-uid="C1.WPF.Pivot.PivotMarginOptions.RightPaddingProperty">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.RightPaddingProperty.html">RightPaddingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.RightPadding.html#C1_WPF_Pivot_PivotMarginOptions_RightPadding">RightPadding</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_TopMarginProperty" data-uid="C1.WPF.Pivot.PivotMarginOptions.TopMarginProperty">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.TopMarginProperty.html">TopMarginProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.TopMargin.html#C1_WPF_Pivot_PivotMarginOptions_TopMargin">TopMargin</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_TopPaddingProperty" data-uid="C1.WPF.Pivot.PivotMarginOptions.TopPaddingProperty">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.TopPaddingProperty.html">TopPaddingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.TopPadding.html#C1_WPF_Pivot_PivotMarginOptions_TopPadding">TopPadding</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_PivotMarginOptions_BottomMargin" data-uid="C1.WPF.Pivot.PivotMarginOptions.BottomMargin">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.BottomMargin.html#C1_WPF_Pivot_PivotMarginOptions_BottomMargin">BottomMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bottom margin.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_BottomPadding" data-uid="C1.WPF.Pivot.PivotMarginOptions.BottomPadding">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.BottomPadding.html#C1_WPF_Pivot_PivotMarginOptions_BottomPadding">BottomPadding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bottom padding.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_IsDisposed" data-uid="C1.WPF.Pivot.PivotMarginOptions.IsDisposed">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.IsDisposed.html#C1_WPF_Pivot_PivotMarginOptions_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_PivotMarginOptions_LeftMargin" data-uid="C1.WPF.Pivot.PivotMarginOptions.LeftMargin">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.LeftMargin.html#C1_WPF_Pivot_PivotMarginOptions_LeftMargin">LeftMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left margin.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_LeftPadding" data-uid="C1.WPF.Pivot.PivotMarginOptions.LeftPadding">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.LeftPadding.html#C1_WPF_Pivot_PivotMarginOptions_LeftPadding">LeftPadding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left padding.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_RightMargin" data-uid="C1.WPF.Pivot.PivotMarginOptions.RightMargin">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.RightMargin.html#C1_WPF_Pivot_PivotMarginOptions_RightMargin">RightMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the right margin.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_RightPadding" data-uid="C1.WPF.Pivot.PivotMarginOptions.RightPadding">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.RightPadding.html#C1_WPF_Pivot_PivotMarginOptions_RightPadding">RightPadding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the right padding.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_TopMargin" data-uid="C1.WPF.Pivot.PivotMarginOptions.TopMargin">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.TopMargin.html#C1_WPF_Pivot_PivotMarginOptions_TopMargin">TopMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the top margin.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_TopPadding" data-uid="C1.WPF.Pivot.PivotMarginOptions.TopPadding">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.TopPadding.html#C1_WPF_Pivot_PivotMarginOptions_TopPadding">TopPadding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the top padding.</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_PivotMarginOptions_Dispose" data-uid="C1.WPF.Pivot.PivotMarginOptions.Dispose">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.Dispose.html#C1_WPF_Pivot_PivotMarginOptions_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_Dispose_System_Boolean_" data-uid="C1.WPF.Pivot.PivotMarginOptions.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.Dispose.html#C1_WPF_Pivot_PivotMarginOptions_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_Finalize" data-uid="C1.WPF.Pivot.PivotMarginOptions.Finalize">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.Finalize.html#C1_WPF_Pivot_PivotMarginOptions_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.html">PivotMarginOptions</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_PivotMarginOptions_OnApplyTemplate" data-uid="C1.WPF.Pivot.PivotMarginOptions.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Pivot.PivotMarginOptions.OnApplyTemplate.html#C1_WPF_Pivot_PivotMarginOptions_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
