Class ProgressBarBase
Represents the progress bar graphical control which is used to visualize the progression of any extended operation.
Implements
Namespace: Syncfusion.iOS.ProgressBar
Assembly: Syncfusion.SfProgressBar.iOS.dll
Syntax
public abstract class ProgressBarBase : UIView, IComponent, IDisposable
Constructors
ProgressBarBase()
Initializes a new instance of the ProgressBarBase class.
Declaration
public ProgressBarBase()
ProgressBarBase(IntPtr)
Initializes a new instance of the ProgressBarBase class.
Declaration
public ProgressBarBase(IntPtr handle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | handle | Designer handle. |
Properties
AnimationDuration
Gets or sets the duration of the animation for primary progress bar.
Declaration
public double AnimationDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The duration of the animation. |
Frame
Gets or sets the frame of the view.
Declaration
public override CGRect Frame { get; set; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGRect | The frame. |
GapWidth
Gets or sets the value that determines gap between the segments.
Declaration
public double GapWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width of the gap. |
IndeterminateAnimationDuration
Gets or sets the duration an animation takes to complete one cycle for the indicator.
Declaration
public double IndeterminateAnimationDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The duration of the animation. |
IndeterminateIndicatorWidth
Gets or sets the level of indicator in indeterminate state.
Declaration
public double IndeterminateIndicatorWidth { get; set; }
Property Value
Type |
---|
System.Double |
IsIndeterminate
Gets or sets a value indicating whether progress bar is in indeterminate state.
Declaration
public bool IsIndeterminate { get; set; }
Property Value
Type |
---|
System.Boolean |
Maximum
Gets or sets the maximum range value of the progress bar.
Declaration
public double Maximum { get; set; }
Property Value
Type |
---|
System.Double |
Minimum
Gets or sets the minimum range value of the progress bar.
Declaration
public double Minimum { get; set; }
Property Value
Type |
---|
System.Double |
Progress
Gets or sets the progress value.
Declaration
public double Progress { get; set; }
Property Value
Type |
---|
System.Double |
ProgressColor
Gets or sets the color of the progress indicator.
Declaration
public UIColor ProgressColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
RangeColors
Gets or sets collection of colors to the progress indicator based on the range constraint.
Declaration
public RangeColorCollection RangeColors { get; set; }
Property Value
Type |
---|
RangeColorCollection |
SegmentCount
Gets or sets a count of the segments in progress bar.
Declaration
public int SegmentCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The segment count. |
Site
Gets or sets the site.
Declaration
public ISite Site { get; set; }
Property Value
Type | Description |
---|---|
System.ComponentModel.ISite | The site. |
TrackColor
Gets or sets the color of the track.
Declaration
public UIColor TrackColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
Methods
AwakeFromNib()
Called after the object has been loaded from the nib file.
Declaration
public override void AwakeFromNib()
Draw(CGRect)
Draw the Chart.
Declaration
public override void Draw(CGRect rect)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGRect | rect | The rectangle. |
LayoutSubviews()
Get the view size.
Declaration
public override void LayoutSubviews()
Events
Disposed
Occurs when disposed.
Declaration
public event EventHandler Disposed
Event Type
Type |
---|
System.EventHandler |
ProgressCompleted
Declaration
public event EventHandler<ProgressValueEventArgs> ProgressCompleted
Event Type
Type |
---|
System.EventHandler<ProgressValueEventArgs> |
ValueChanged
Occurs when Progress value changed.
Declaration
public event EventHandler<ProgressValueEventArgs> ValueChanged
Event Type
Type |
---|
System.EventHandler<ProgressValueEventArgs> |