Implements the ProgressBar in an ellipsed form.
Inheritance Hierarchy
System.Windows.ThreadingDispatcherObject
System.WindowsDependencyObject
System.Windows.MediaVisual
System.WindowsUIElement
System.WindowsFrameworkElement
System.Windows.ControlsControl
System.Windows.Controls.PrimitivesRangeBase
System.Windows.ControlsProgressBar
DW.WPFToolkit.ControlsEllipsedProgressBar
Namespace: DW.WPFToolkit.Controls
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax
C#
public class EllipsedProgressBar : ProgressBar
The EllipsedProgressBar type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | EllipsedProgressBar |
Initializes a new instance of the EllipsedProgressBar class.
|
Methods
Name | Description | |
---|---|---|
![]() | OnApplyTemplate |
The template gets added to the control.
(Overrides ProgressBarOnApplyTemplate.) |
![]() | OnMaximumChanged |
Handles changed maximum value.
(Overrides ProgressBarOnMaximumChanged(Double, Double).) |
![]() | OnMinimumChanged |
Handles changed minimum value.
(Overrides ProgressBarOnMinimumChanged(Double, Double).) |
![]() | OnRender |
Called when the element has to be rendered.
(Overrides UIElementOnRender(DrawingContext).) |
![]() | OnValueChanged |
Handles changed progress value.
(Overrides ProgressBarOnValueChanged(Double, Double).) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | DisplayKindProperty |
Identifies the DisplayKind dependency property.
|
![]() ![]() | HasPercentLabelProperty |
Identifies the HasPercentLabel dependency property.
|
![]() ![]() | InnerCircleBrushProperty |
Identifies the InnerCircleBrush dependency property.
|
![]() ![]() | InnerCircleDashArrayProperty |
Identifies the InnerCircleDashArray dependency property.
|
![]() ![]() | InnerCircleThicknessProperty |
Identifies the InnerCircleThickness dependency property.
|
![]() ![]() | InnerRadiusProperty |
Identifies the InnerRadius dependency property.
|
![]() ![]() | IsIndeterminateProperty |
Identifies the IsIndeterminate dependency property.
|
![]() ![]() | IsInversedProperty |
Identifies the IsInversed dependency property.
|
![]() ![]() | ItemsFactoryProperty |
Identifies the ItemsFactory dependency property.
|
![]() ![]() | OutherCircleBrushProperty |
Identifies the OutherCircleBrush dependency property.
|
![]() ![]() | OutherCircleDashArrayProperty |
Identifies the OutherCircleDashArray dependency property.
|
![]() ![]() | OutherCircleThicknessProperty |
Identifies the OutherCircleThickness dependency property.
|
![]() ![]() | OutherRadiusProperty |
Identifies the OutherRadius dependency property.
|
![]() ![]() | PercentLabelStyleProperty |
Identifies the PercentLabelStyle dependency property.
|
![]() ![]() | RotateDirectionProperty |
Identifies the RotateDirection dependency property.
|
![]() ![]() | RotateItemsProperty |
Identifies the RotateItems dependency property.
|
![]() ![]() | RotateSpeedProperty |
Identifies the RotateSpeed dependency property.
|
![]() ![]() | ShowInnerCircleProperty |
Identifies the ShowInnerCircle dependency property.
|
![]() ![]() | ShowOutherCircleProperty |
Identifies the ShowOutherCircle dependency property.
|
![]() ![]() | StartAngleProperty |
Identifies the StartAngle dependency property.
|
![]() ![]() | StrokeThicknessProperty |
Identifies the StrokeThickness dependency property.
|
Properties
Name | Description | |
---|---|---|
![]() | DisplayKind |
Gets or sets a value which indicates how the progress should be displayed. See EllipsedProgressBarKind.
|
![]() | HasPercentLabel |
Gets or sets a value which indicates if a percentage text is shown in the center of the EllipsedProgressBar or not.
|
![]() | InnerCircleBrush |
Gets or sets the color of the inner ellipse
|
![]() | InnerCircleDashArray |
Gets or sets the dash array of the inner circle.
|
![]() | InnerCircleThickness |
Gets or sets the thickness of the inner ellipse.
|
![]() | InnerRadius |
Gets or sets the inner radius of the ellipse
|
![]() | IsIndeterminate |
Gets or sets a value which indicates if the EllipsedProgressBar is indeterminate.
|
![]() | IsInversed |
Gets or sets a value which indicates if the progress should be painted as an inversed state.
|
![]() | ItemsFactory | |
![]() | OutherCircleBrush |
Gets or sets the color of the outher ellipse.
|
![]() | OutherCircleDashArray |
Gets or sets the dash array of the outher ellipse.
|
![]() | OutherCircleThickness |
Gets or sets the thickness of the outher ellipse.
|
![]() | OutherRadius |
Gets or sets the outher radius of the ellipse.
|
![]() | PercentLabelStyle |
Gets or sets the style of ther percentage display in center of the EllipsedProgressBar.
|
![]() | RotateDirection |
Gets or sets the rotate orientation to be used for the items created by the ItemsFactory if RotateItems is set to true.
|
![]() | RotateItems |
Gets or sets a value which indicates if the items created by the ItemsFactory should be rotated or not.
|
![]() | RotateSpeed |
Gets or sets the rotating speed to be used when IsIndeterminate is set to true.
|
![]() | ShowInnerCircle |
Gets or set a value which indicates of the inner ellipse is shown or not.
|
![]() | ShowOutherCircle |
Gets or sets a value which indicates of the outher ellipse is shown or not.
|
![]() | StartAngle |
Gets or sets the start position of the progress in the ellipse. 0 is on Top.
|
![]() | StrokeThickness |
Gets or sets the stroke thickness of the ellipses.
|
Examples
XAML
<Controls:EllipsedProgressBar Value="10" Minimum="0" Maximum="100" OutherRadius="20" RotateSpeed="0.5" IsIndeterminate="True" /> <Controls:EllipsedProgressBar Value="25" Minimum="0" Maximum="100" OutherRadius="20" RotateSpeed="0.8" IsIndeterminate="True" IsInversed="True" /> <Controls:EllipsedProgressBar Value="34" Minimum="0" Maximum="100" OutherRadius="20" HasPercentLabel="True" /> <Controls:EllipsedProgressBar Value="0" Minimum="0" Maximum="100" OutherRadius="20" RotateSpeed="0.8" DisplayKind="Pointer" InnerRadius="10" ShowInnerCircle="True" ShowOutherCircle="True" StrokeThickness="1" IsIndeterminate="True" /> <Grid> <Controls:EllipsedProgressBar Value="20" Minimum="0" Maximum="100" OutherRadius="20" InnerRadius="5" RotateSpeed="0.7" IsIndeterminate="True" /> <Controls:GappedOverlay OutherRadius="21" InnerRadius="5" InnerGapRadius="8" OutherGapRadius="16" /> </Grid> <Controls:EllipsedProgressBar Value="100" Minimum="0" Maximum="100" InnerRadius="16" OutherRadius="18.5" RotateSpeed="0.8" IsIndeterminate="True" DisplayKind="Items"> <Controls:EllipsedProgressBar.ItemsFactory> <Controls:EllipseItemsFactory Size="5" ItemsCount="15" OpacityShrinking="0.1" /> </Controls:EllipsedProgressBar.ItemsFactory> </Controls:EllipsedProgressBar> <Controls:EllipsedProgressBar Value="100" Minimum="0" Maximum="100" InnerRadius="15" OutherRadius="20" RotateSpeed="0.8" IsIndeterminate="True" DisplayKind="Items"> <Controls:EllipsedProgressBar.ItemsFactory> <Controls:LineItemsFactory Caps="Flat" Length="8" OpacityShrinking="0.1" ItemsCount="8" Thickness="2" /> </Controls:EllipsedProgressBar.ItemsFactory> </Controls:EllipsedProgressBar>
See Also