# C1.Framework.ProgressBarElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_ProgressBarElement" data-uid="C1.Framework.ProgressBarElement" class="text-break">ProgressBarElement Class
</h1>
  <div class="markdown level0 summary"><p>Element equivalent to a WinForms <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.progressbar">ProgressBar</a> control.</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.Framework.Element.html">Element</a></div>
    <div class="level2"><span class="xref">ProgressBarElement</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_ProgressBarElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ProgressBarElement : Element, ISupportUia</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ProgressBarElement
    Inherits Element
    Implements ISupportUia</code></pre>
  </div>
  <h5 id="C1_Framework_ProgressBarElement_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This element has two styles: the regular (<a class="xref" href="C1.Framework.Element.Style.html#C1_Framework_Element_Style">Style</a>) is used
to paint the element background; the <a class="xref" href="C1.Framework.ProgressBarElement.ProgressStyle.html#C1_Framework_ProgressBarElement_ProgressStyle">ProgressStyle</a> is used to paint the
progress indicator.</p>
<p>If either style is set to null (the default value), then the background and/or
progress indicators are rendered using system's current visual theme.</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_Framework_ProgressBarElement__ctor" data-uid="C1.Framework.ProgressBarElement.#ctor">
          <a class="xref" href="C1.Framework.ProgressBarElement.-ctor.html#C1_Framework_ProgressBarElement__ctor">ProgressBarElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Framework.ProgressBarElement.html">ProgressBarElement</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ProgressBarElement__ctor_C1_Framework_Style_" data-uid="C1.Framework.ProgressBarElement.#ctor(C1.Framework.Style)">
          <a class="xref" href="C1.Framework.ProgressBarElement.-ctor.html#C1_Framework_ProgressBarElement__ctor_C1_Framework_Style_">ProgressBarElement(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Framework.ProgressBarElement.html">ProgressBarElement</a> with a given <a class="xref" href="C1.Framework.Style.html">Style</a>.</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_Framework_ProgressBarElement_Maximum" data-uid="C1.Framework.ProgressBarElement.Maximum">
          <a class="xref" href="C1.Framework.ProgressBarElement.Maximum.html#C1_Framework_ProgressBarElement_Maximum">Maximum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value of the progress bar range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ProgressBarElement_Minimum" data-uid="C1.Framework.ProgressBarElement.Minimum">
          <a class="xref" href="C1.Framework.ProgressBarElement.Minimum.html#C1_Framework_ProgressBarElement_Minimum">Minimum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value of the progress bar range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ProgressBarElement_ProgressStyle" data-uid="C1.Framework.ProgressBarElement.ProgressStyle">
          <a class="xref" href="C1.Framework.ProgressBarElement.ProgressStyle.html#C1_Framework_ProgressBarElement_ProgressStyle">ProgressStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Framework.Style.html">Style</a> used to paint the progress bar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ProgressBarElement_Value" data-uid="C1.Framework.ProgressBarElement.Value">
          <a class="xref" href="C1.Framework.ProgressBarElement.Value.html#C1_Framework_ProgressBarElement_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current value of the progress bar range.</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_Framework_ProgressBarElement_GetPercentDone" data-uid="C1.Framework.ProgressBarElement.GetPercentDone">
          <a class="xref" href="C1.Framework.ProgressBarElement.GetPercentDone.html#C1_Framework_ProgressBarElement_GetPercentDone">GetPercentDone()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_ProgressBarElement_Render_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="C1.Framework.ProgressBarElement.Render(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="C1.Framework.ProgressBarElement.Render.html#C1_Framework_ProgressBarElement_Render_System_Drawing_Graphics_System_Drawing_Rectangle_">Render(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the element into a given rectangle.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
