iOS Guides | Samples

UIKit.UIProgressView Class

A UIView that displays a progress bar.

See Also: UIProgressView

Syntax

[Foundation.Register("UIProgressView", true)]
public class UIProgressView : UIView, IDisposable

Related content

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.UIProgressView are listed below.

See Also: UIView

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
Initializes the UIProgressView with the specified frame.
A constructor that initializes the object from the data stored in the unarchiver object.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
static
AppearanceUIProgressView+UIProgressViewAppearance. Strongly-typed property that returns the UIAppearance class for this class.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
ObservedProgressNSProgress. The NSProgress that this view is displaying.
ProgressSingle. The current progress shown by this UIProgressView.
ProgressImageUIImage. The UIImage shown in that portion of the progress bar that is filled.
ProgressTintColorUIColor. The color shown in that portion of the progress bar that is filled.
StyleUIProgressViewStyle. The graphical style of this UIProgressView.
TrackImageUIImage. The UIImage shown in that portion of the progress bar that is not filled.
TrackTintColorUIColor. The color shown in that portion of the progress bar that is not filled.

Public Methods

static
AppearanceWhenContainedIn(params Type[]) : UIProgressView+UIProgressViewAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
EncodeTo(NSCoder)
Encodes the state of the object on the provided encoder
static
GetAppearance(UITraitCollection) : UIProgressView+UIProgressViewAppearance
Returns an appearance proxy for the specified traits collection.
static
GetAppearance(UITraitCollection, params Type[]) : UIProgressView+UIProgressViewAppearance
Returns an appearance proxy for the specified traits when found in the containers containment hierarchy.
static
GetAppearance<T>() : UIProgressView+UIProgressViewAppearance
Obtains the appearance proxy UIProgressViewAppearance for the subclass of UIProgressView.
static
GetAppearance<T>(UITraitCollection) : UIProgressView+UIProgressViewAppearance
Obtains the appearance proxy UIProgressViewAppearance for the subclass of UIProgressView.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UIProgressView+UIProgressViewAppearance
Obtains the appearance proxy UIProgressViewAppearance for the subclass of UIProgressView that has the specified trait collection when the view is hosted in the specified hierarchy.
SetProgress(Single, Boolean)
Sets the progress of this UIProgressView, optionally animating the change.