Dual Radial Progress Bar Documentation
Overview:
The DualRadialProgressBar is a custom control for WinForms that displays two radial progress bars, one inside the other. The outer ring represents the overall progress, while the inner ring shows a task's progress. The component also supports an indeterminate state, where both rings animate like a spinning loader, and a completed state, where the rings are filled and a completion color is applied.
Features:
Dual Radial Progress Bars: The control uses two circular progress bars (inner and outer).
Indeterminate State: Displays an animated spinning effect when progress is unknown or indefinite.
Completed State: Indicates task completion with a color change to the rings.
Task Text: Allows the display of custom text (e.g., "Loading...") in the center of the progress bars.
Text Padding and Scaling: Adjustable text padding with dynamic scaling to fit text.
Color Customization: Fully customizable colors for different parts of the progress bar.
Percentage Display: Option to show the progress percentage inside the control.
Properties:
Appearance:
OuterCircleColor (Color): The color of the outer circle (default: DodgerBlue).
InnerCircleColor (Color): The color of the inner circle (default: LimeGreen).
BackgroundColor (Color): The color of the background rings (default: LightGray).
TextColor (Color): The color of the text in the center of the progress bar (default: Black).
IndeterminateGlowColor (Color): The color of the glowing effect during indeterminate state (default: Golden).
ShowPercentage (bool): Whether to display the percentage in the center (default: true).
DisplayFont (Font): Font used for the text displayed in the center (default: Arial, 10pt, Bold).
CompletedColor (Color): The color applied when the progress is complete (default: DarkGreen).
Behavior:
Progress (int): Represents the outer circle's progress as a percentage (0 to 100).
TaskProgress (int): Represents the inner circle's progress as a percentage (0 to 100).
Indeterminate (bool): Determines if the control is in the indeterminate (spinning) state.
Completed (bool): Indicates if the progress has been completed. Changes the ring color to CompletedColor.
TaskText (string): Custom text to display in the center of the progress bar.
Text and Padding:
TextPadding (int): Padding for positioning the task text inside the control.