iOS Guides | Samples

MonoTouch.UIKit.UIActivityIndicatorView Class

A UIView that displays a spinning and animated gear that is used to provide the user with feedback that an activity is taking place.

See Also: UIActivityIndicatorView

Syntax

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

Remarks

Indicates that a UIActivity is in progress. Can be animated or still to provide additional feedback.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIActivityIndicatorView are listed below.

See Also: UIView

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
Initializes the UIActivityIndicatorView with the specified frame.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ActivityIndicatorViewStyleUIActivityIndicatorViewStyle. The appearance of the activity indicator.
[read-only]
static
AppearanceUIActivityIndicatorView+UIActivityIndicatorViewAppearance. Strongly-typed property that returns the UIAppearance class for this class.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
ColorUIColor. The color of the activity indicator.
HidesWhenStoppedBoolean. This property controls if the activity indicator is hidden when the animation stops.
[read-only]
IsAnimatingBoolean. Returns true if the activity is animating, false if it is not.

Public Methods

static
AppearanceWhenContainedIn(params Type[]) : UIActivityIndicatorView+UIActivityIndicatorViewAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
static
GetAppearance(UITraitCollection) : UIActivityIndicatorView+UIActivityIndicatorViewAppearance
Returns an appearance proxy for the specified traits.
static
GetAppearance(UITraitCollection, params Type[]) : UIActivityIndicatorView+UIActivityIndicatorViewAppearance
Returns an appearance proxy for the specified traits when found in the containers containment hierarchy.
static
GetAppearance<T>() : UIActivityIndicatorView+UIActivityIndicatorViewAppearance
Obtains the appearance proxy UIActivityIndicatorViewAppearance for the subclass of UIActivityIndicatorView.
static
GetAppearance<T>(UITraitCollection) : UIActivityIndicatorView+UIActivityIndicatorViewAppearance
Obtains the appearance proxy UIActivityIndicatorViewAppearance for the subclass of UIActivityIndicatorView.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UIActivityIndicatorView+UIActivityIndicatorViewAppearance
Obtains the appearance proxy UIActivityIndicatorViewAppearance for the subclass of UIActivityIndicatorView that has the specified trait collection when the view is hosted in the specified hierarchy.
StartAnimating()
Starts the progress indicator animation.
StopAnimating()
Stops the progress indicator animation.