# C1.WPF.C1ListViewerPanel.ViewportGap

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_C1ListViewerPanel_ViewportGap_" data-uid="C1.WPF.C1ListViewerPanel.ViewportGap*">ViewportGap Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_C1ListViewerPanel_ViewportGap_" data-uid="C1.WPF.C1ListViewerPanel.ViewportGap*"></a>
<h4 id="C1_WPF_C1ListViewerPanel_ViewportGap" data-uid="C1.WPF.C1ListViewerPanel.ViewportGap">ViewportGap</h4>
<div class="markdown level1 summary"><p>Gets a coeficient which will determine in each layout pass the size of the viewport.
If zero is specified the size of the viewport will be equal to the scrollviewer viewport.
If 0.5 is specified the size of the viewport will be enlarged to take up half screen more at both sides of the original viewport.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public double ViewportGap { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property ViewportGap As Double</code></pre>
</div>
</div>
