# FarPoint.Win.FpProgress

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_FpProgress" data-uid="FarPoint.Win.FpProgress" class="text-break">FpProgress Class
</h1>
  <div class="markdown level0 summary"><p>Represents the FarPoint progress indicator 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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><a class="xref" href="FarPoint.Win.ControlBase.html">ControlBase</a></div>
    <div class="level5"><span class="xref">FpProgress</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</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="FarPoint.Win.html">FarPoint.Win</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_FpProgress_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FpProgress : ControlBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FpProgress
    Inherits ControlBase
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, 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="FarPoint_Win_FpProgress__ctor" data-uid="FarPoint.Win.FpProgress.#ctor">
          <a class="xref" href="FarPoint.Win.FpProgress.-ctor.html#FarPoint_Win_FpProgress__ctor">FpProgress()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new FarPoint progress indicator control.</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="FarPoint_Win_FpProgress_BackgroundImage" data-uid="FarPoint.Win.FpProgress.BackgroundImage">
          <a class="xref" href="FarPoint.Win.FpProgress.BackgroundImage.html#FarPoint_Win_FpProgress_BackgroundImage">BackgroundImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background image for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_FillColor" data-uid="FarPoint.Win.FpProgress.FillColor">
          <a class="xref" href="FarPoint.Win.FpProgress.FillColor.html#FarPoint_Win_FpProgress_FillColor">FillColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color to paint the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_FillColor2" data-uid="FarPoint.Win.FpProgress.FillColor2">
          <a class="xref" href="FarPoint.Win.FpProgress.FillColor2.html#FarPoint_Win_FpProgress_FillColor2">FillColor2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the second color (for a gradient) to paint the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_FillTextColor" data-uid="FarPoint.Win.FpProgress.FillTextColor">
          <a class="xref" href="FarPoint.Win.FpProgress.FillTextColor.html#FarPoint_Win_FpProgress_FillTextColor">FillTextColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the text of the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_GradientMode" data-uid="FarPoint.Win.FpProgress.GradientMode">
          <a class="xref" href="FarPoint.Win.FpProgress.GradientMode.html#FarPoint_Win_FpProgress_GradientMode">GradientMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the gradient style displayed for the progress indicator
when the style is set to display a gradient.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_HorizontalAlignment" data-uid="FarPoint.Win.FpProgress.HorizontalAlignment">
          <a class="xref" href="FarPoint.Win.FpProgress.HorizontalAlignment.html#FarPoint_Win_FpProgress_HorizontalAlignment">HorizontalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment of text in the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_Maximum" data-uid="FarPoint.Win.FpProgress.Maximum">
          <a class="xref" href="FarPoint.Win.FpProgress.Maximum.html#FarPoint_Win_FpProgress_Maximum">Maximum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value of the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_Minimum" data-uid="FarPoint.Win.FpProgress.Minimum">
          <a class="xref" href="FarPoint.Win.FpProgress.Minimum.html#FarPoint_Win_FpProgress_Minimum">Minimum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value of the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_Orientation" data-uid="FarPoint.Win.FpProgress.Orientation">
          <a class="xref" href="FarPoint.Win.FpProgress.Orientation.html#FarPoint_Win_FpProgress_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the orientation of the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_Picture" data-uid="FarPoint.Win.FpProgress.Picture">
          <a class="xref" href="FarPoint.Win.FpProgress.Picture.html#FarPoint_Win_FpProgress_Picture">Picture</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image displayed for the progress indicator
when they style is set to display a picture.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_ShowText" data-uid="FarPoint.Win.FpProgress.ShowText">
          <a class="xref" href="FarPoint.Win.FpProgress.ShowText.html#FarPoint_Win_FpProgress_ShowText">ShowText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the percentage displays as text inside the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_Style" data-uid="FarPoint.Win.FpProgress.Style">
          <a class="xref" href="FarPoint.Win.FpProgress.Style.html#FarPoint_Win_FpProgress_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how the progress indicator is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_Text" data-uid="FarPoint.Win.FpProgress.Text">
          <a class="xref" href="FarPoint.Win.FpProgress.Text.html#FarPoint_Win_FpProgress_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value as a string</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_TextStyle" data-uid="FarPoint.Win.FpProgress.TextStyle">
          <a class="xref" href="FarPoint.Win.FpProgress.TextStyle.html#FarPoint_Win_FpProgress_TextStyle">TextStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how the text portion of the progress indicator is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_Value" data-uid="FarPoint.Win.FpProgress.Value">
          <a class="xref" href="FarPoint.Win.FpProgress.Value.html#FarPoint_Win_FpProgress_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current value of the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_VerticalAlignment" data-uid="FarPoint.Win.FpProgress.VerticalAlignment">
          <a class="xref" href="FarPoint.Win.FpProgress.VerticalAlignment.html#FarPoint_Win_FpProgress_VerticalAlignment">VerticalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical alignment of text in the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_VisualStyles" data-uid="FarPoint.Win.FpProgress.VisualStyles">
          <a class="xref" href="FarPoint.Win.FpProgress.VisualStyles.html#FarPoint_Win_FpProgress_VisualStyles">VisualStyles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to use visual styles in the display of the progress indicator.</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="FarPoint_Win_FpProgress_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Drawing_Color_System_Drawing_Color_System_Boolean_FarPoint_Win_Picture_System_Boolean_FarPoint_Win_ProgressStyle_FarPoint_Win_VisualStyles_FarPoint_Win_ProgressTextStyle_System_String_System_Drawing_Color_System_Drawing_Drawing2D_LinearGradientMode_FarPoint_Win_Picture_System_Boolean_" data-uid="FarPoint.Win.FpProgress.DoPaint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,System.Int32,System.Int32,System.Int32,FarPoint.Win.ProgressOrientation,FarPoint.Win.HorizontalAlignment,FarPoint.Win.VerticalAlignment,System.Drawing.Color,System.Drawing.Color,System.Boolean,FarPoint.Win.Picture,System.Boolean,FarPoint.Win.ProgressStyle,FarPoint.Win.VisualStyles,FarPoint.Win.ProgressTextStyle,System.String,System.Drawing.Color,System.Drawing.Drawing2D.LinearGradientMode,FarPoint.Win.Picture,System.Boolean)">
          <a class="xref" href="FarPoint.Win.FpProgress.DoPaint.html#FarPoint_Win_FpProgress_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Drawing_Color_System_Drawing_Color_System_Boolean_FarPoint_Win_Picture_System_Boolean_FarPoint_Win_ProgressStyle_FarPoint_Win_VisualStyles_FarPoint_Win_ProgressTextStyle_System_String_System_Drawing_Color_System_Drawing_Drawing2D_LinearGradientMode_FarPoint_Win_Picture_System_Boolean_">DoPaint(Graphics, Rectangle, Color, Color, Font, int, int, int, ProgressOrientation, HorizontalAlignment, VerticalAlignment, Color, Color, bool, Picture, bool, ProgressStyle, VisualStyles, ProgressTextStyle, string, Color, LinearGradientMode, Picture, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Drawing_Color_System_Drawing_Color_System_Boolean_FarPoint_Win_Picture_System_Boolean_FarPoint_Win_ProgressStyle_FarPoint_Win_VisualStyles_FarPoint_Win_ProgressTextStyle_System_String_System_Drawing_Color_System_Drawing_Drawing2D_LinearGradientMode_FarPoint_Win_Picture_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.FpProgress.DoPaint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,System.Int32,System.Int32,System.Int32,FarPoint.Win.ProgressOrientation,FarPoint.Win.HorizontalAlignment,FarPoint.Win.VerticalAlignment,System.Drawing.Color,System.Drawing.Color,System.Boolean,FarPoint.Win.Picture,System.Boolean,FarPoint.Win.ProgressStyle,FarPoint.Win.VisualStyles,FarPoint.Win.ProgressTextStyle,System.String,System.Drawing.Color,System.Drawing.Drawing2D.LinearGradientMode,FarPoint.Win.Picture,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.FpProgress.DoPaint.html#FarPoint_Win_FpProgress_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Drawing_Color_System_Drawing_Color_System_Boolean_FarPoint_Win_Picture_System_Boolean_FarPoint_Win_ProgressStyle_FarPoint_Win_VisualStyles_FarPoint_Win_ProgressTextStyle_System_String_System_Drawing_Color_System_Drawing_Drawing2D_LinearGradientMode_FarPoint_Win_Picture_System_Boolean_System_Boolean_">DoPaint(Graphics, Rectangle, Color, Color, Font, int, int, int, ProgressOrientation, HorizontalAlignment, VerticalAlignment, Color, Color, bool, Picture, bool, ProgressStyle, VisualStyles, ProgressTextStyle, string, Color, LinearGradientMode, Picture, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Drawing_Color_System_Drawing_Color_System_Boolean_FarPoint_Win_Picture_System_Boolean_FarPoint_Win_ProgressStyle_FarPoint_Win_VisualStyles_FarPoint_Win_ProgressTextStyle_System_String_System_Drawing_Color_System_Drawing_Drawing2D_LinearGradientMode_FarPoint_Win_Picture_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.FpProgress.DoPaint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,System.Int32,System.Int32,System.Int32,FarPoint.Win.ProgressOrientation,FarPoint.Win.HorizontalAlignment,FarPoint.Win.VerticalAlignment,System.Drawing.Color,System.Drawing.Color,System.Boolean,FarPoint.Win.Picture,System.Boolean,FarPoint.Win.ProgressStyle,FarPoint.Win.VisualStyles,FarPoint.Win.ProgressTextStyle,System.String,System.Drawing.Color,System.Drawing.Drawing2D.LinearGradientMode,FarPoint.Win.Picture,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.FpProgress.DoPaint.html#FarPoint_Win_FpProgress_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Drawing_Color_System_Drawing_Color_System_Boolean_FarPoint_Win_Picture_System_Boolean_FarPoint_Win_ProgressStyle_FarPoint_Win_VisualStyles_FarPoint_Win_ProgressTextStyle_System_String_System_Drawing_Color_System_Drawing_Drawing2D_LinearGradientMode_FarPoint_Win_Picture_System_Boolean_System_Boolean_System_Boolean_">DoPaint(Graphics, Rectangle, Color, Color, Font, int, int, int, ProgressOrientation, HorizontalAlignment, VerticalAlignment, Color, Color, bool, Picture, bool, ProgressStyle, VisualStyles, ProgressTextStyle, string, Color, LinearGradientMode, Picture, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_" data-uid="FarPoint.Win.FpProgress.GetPreferredSize(System.Drawing.Graphics,System.Drawing.Font,System.Int32,System.Int32,System.Int32,FarPoint.Win.ProgressOrientation)">
          <a class="xref" href="FarPoint.Win.FpProgress.GetPreferredSize.html#FarPoint_Win_FpProgress_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_">GetPreferredSize(Graphics, Font, int, int, int, ProgressOrientation)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the height and width required to display the text and picture in the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_FarPoint_Win_ProgressTextStyle_System_String_" data-uid="FarPoint.Win.FpProgress.GetPreferredSize(System.Drawing.Graphics,System.Drawing.Font,System.Int32,System.Int32,System.Int32,FarPoint.Win.ProgressOrientation,FarPoint.Win.ProgressTextStyle,System.String)">
          <a class="xref" href="FarPoint.Win.FpProgress.GetPreferredSize.html#FarPoint_Win_FpProgress_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Font_System_Int32_System_Int32_System_Int32_FarPoint_Win_ProgressOrientation_FarPoint_Win_ProgressTextStyle_System_String_">GetPreferredSize(Graphics, Font, int, int, int, ProgressOrientation, ProgressTextStyle, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the height and width required to display the text and picture in the progress indicator.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_OnBackgroundImageChanged_System_Object_System_EventArgs_" data-uid="FarPoint.Win.FpProgress.OnBackgroundImageChanged(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.FpProgress.OnBackgroundImageChanged.html#FarPoint_Win_FpProgress_OnBackgroundImageChanged_System_Object_System_EventArgs_">OnBackgroundImageChanged(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs if the background picture changes.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpProgress_OnThemeChanged_System_Object_System_EventArgs_" data-uid="FarPoint.Win.FpProgress.OnThemeChanged(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.FpProgress.OnThemeChanged.html#FarPoint_Win_FpProgress_OnThemeChanged_System_Object_System_EventArgs_">OnThemeChanged(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the ThemeChanged event for the VisualStyleTheme.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
