Circular ProgressBar for WinForm [.Net3.5+]
Circular ProgressBar is a custom control and inplace replacement of 'ProgressBar' for WinForm with animation.
Where to get
This library is available as a NuGet package at nuget.org.
Help me fund my own Death Star
--OR--
You can always donate your time by contributing to the project or by introducing it to others.
How to use
Use toolbox to add the control to your forms.
Check the 'CircularProgressBarSample' project for tons of usage examples.
Documentation
[Properties]
CircularProgressBar.Maximum
: Shows and changes the maximum acceptable value for the progress bar.CircularProgressBar.Minimum
: Shows and changes the minimum acceptable value for the progress bar.CircularProgressBar.Value
: Shows and changes the current value of the progress bar.CircularProgressBar.Style
: Shows and changes the style of the progress bar. OnlyContinues
andMarquee
is now supported.Blocks
behaves as same asContinues
.CircularProgressBar.BackColor
: Background color of control, transparent is not supportedCircularProgressBar.Text
: Primary textCircularProgressBar.TextMargin
: Margin of the primary textCircularProgressBar.Font
: Font of the primary textCircularProgressBar.SuperscriptText
: Superscript textCircularProgressBar.SuperscriptMargin
: Margin of the superscript textCircularProgressBar.SuperscriptColor
: Font color of the superscript textCircularProgressBar.SubscriptText
: Subscript textCircularProgressBar.SubscriptMargin
: Margin of the subscript textCircularProgressBar.SubscriptColor
: Font color of the subscript textCircularProgressBar.SecondaryFont
: Font of subscript as superscript textCircularProgressBar.AnimationFunction
: Contains the function that controls the animation. UseWinFormAnimation.Functions
namespace for some of the basic implementations.CircularProgressBar.AnimationSpeed
: Speed of the animation. Applies to the main progress animation.CircularProgressBar.StartAngle
: Start angle of the progress bar. 270 being top of the control.CircularProgressBar.InnerColor
: Color of the inner circle.CircularProgressBar.InnerWidth
: Width of the inner circle. -1 means full fill.CircularProgressBar.InnerMargin
: Margin of the inner circle.CircularProgressBar.ProgressWidth
: Width of the main progress bar circle. -1 means full fill.CircularProgressBar.ProgressColor
: Color of the main progress bar circle.CircularProgressBar.OuterColor
: Color of the outer circle.CircularProgressBar.OuterWidth
: Width of the outer circle. -1 means full fill.CircularProgressBar.OuterMargin
: Margin of the outer circle.
License
The MIT License (MIT)
Copyright (c) 2016-2020 Soroush Falahati
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.