# C1.Win.Gauge.C1GaugeViewport.X

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Gauge_C1GaugeViewport_X_" data-uid="C1.Win.Gauge.C1GaugeViewport.X*">X Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Gauge_C1GaugeViewport_X_" data-uid="C1.Win.Gauge.C1GaugeViewport.X*"></a>
<h4 id="C1_Win_Gauge_C1GaugeViewport_X" data-uid="C1.Win.Gauge.C1GaugeViewport.X">X</h4>
<div class="markdown level1 summary"><p>Gets or sets the X-offset of the viewport (in pixels).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int X { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property X As Integer</code></pre>
</div>
<h5 id="C1_Win_Gauge_C1GaugeViewport_X_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Negative offset is count from the right edge of the owner element.</p>
</div>
</div>
