[]
        
(Showing Draft Content)

FarPoint.Win.FpProgress

FpProgress Class

Represents the FarPoint progress indicator control.

Namespace: FarPoint.Win
Assembly: FarPoint.Win.dll
Syntax
public class FpProgress : ControlBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Public Class FpProgress
    Inherits ControlBase
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

Constructors

Name Description
FpProgress()

Creates a new FarPoint progress indicator control.

Fields

Name Description
theme

Internal use only. Visual style theme.

Properties

Name Description
BackgroundImage

Gets or sets the background image for the control.

FillColor

Gets or sets the color to paint the progress indicator.

FillColor2

Gets or sets the second color (for a gradient) to paint the progress indicator.

FillTextColor

Gets or sets the color of the text of the progress indicator.

GradientMode

Gets or sets the gradient style displayed for the progress indicator when the style is set to display a gradient.

HorizontalAlignment

Gets or sets the horizontal alignment of text in the progress indicator.

Maximum

Gets or sets the maximum value of the progress indicator.

Minimum

Gets or sets the minimum value of the progress indicator.

Orientation

Gets or sets the orientation of the progress indicator.

Picture

Gets or sets the image displayed for the progress indicator when they style is set to display a picture.

ShowText

Gets or sets whether the percentage displays as text inside the progress indicator.

Style

Gets or sets how the progress indicator is displayed.

Text

Gets or sets the value as a string

TextStyle

Gets or sets how the text portion of the progress indicator is displayed.

Value

Gets or sets the current value of the progress indicator.

VerticalAlignment

Gets or sets the vertical alignment of text in the progress indicator.

VisualStyles

Gets or sets whether to use visual styles in the display of the progress indicator.

Methods

Name Description
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)

Paints the progress indicator.

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)

Paints the progress indicator.

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)

Paints the progress indicator.

GetPreferredSize(Graphics, Font, int, int, int, ProgressOrientation)

Calculates the height and width required to display the text and picture in the progress indicator.

GetPreferredSize(Graphics, Font, int, int, int, ProgressOrientation, ProgressTextStyle, string)

Calculates the height and width required to display the text and picture in the progress indicator.

OnBackgroundImageChanged(object, EventArgs)

Occurs if the background picture changes.

OnPaint(PaintEventArgs, object)

Internal use only. Paints the control.

OnPaintBackground(PaintEventArgs)

Paints the background of the progress indicator.

OnThemeChanged(object, EventArgs)

Handles the ThemeChanged event for the VisualStyleTheme.