iOS Guides | Samples

MonoTouch.UIKit.UIStepper Class

A UIControl that displays values that may be increased or decreased by pressing plus or minus buttons.

See Also: UIStepper

Syntax

[MonoTouch.Foundation.Register("UIStepper", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 5, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIStepper : UIControl

Related content

Requirements

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

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

See Also: UIControl

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 UIStepper with the specified frame.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
static
AppearanceUIStepper+UIStepperAppearance. Strongly-typed property that returns the UIAppearance class for this class.
AutoRepeatBoolean. Whether the stepper uses automatic or nonautomatic repeats.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
ContinuousBoolean. The continuous vs. noncontinuous state of this UIStepper.
MaximumValueDouble. The highest allowed value of this UIStepper.
MinimumValueDouble. The lowest allowed value of this UIStepper.
StepValueDouble. The increment value for this UIStepper.
ValueDouble. The current numeric value of this UIStepper.
WrapsBoolean. The wrap vs. no-wrap state of this UIStepper.

Public Methods

static
AppearanceWhenContainedIn(params Type[]) : UIStepper+UIStepperAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
BackgroundImage(UIControlState) : UIImage
The background image for the specified control state.
static
GetAppearance(UITraitCollection) : UIStepper+UIStepperAppearance
Returns an appearance proxy for the specified traits.
static
GetAppearance(UITraitCollection, params Type[]) : UIStepper+UIStepperAppearance
Returns an appearance proxy for the specified traits when found in the containers containment hierarchy.
static
GetAppearance<T>() : UIStepper+UIStepperAppearance
Obtains the appearance proxy UIStepperAppearance for the subclass of UIStepper.
static
GetAppearance<T>(UITraitCollection) : UIStepper+UIStepperAppearance
Obtains the appearance proxy UIStepperAppearance for the subclass of UIStepper.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UIStepper+UIStepperAppearance
Obtains the appearance proxy UIStepperAppearance for the subclass of UIStepper that has the specified trait collection when the view is hosted in the specified hierarchy.
GetDecrementImage(UIControlState) : UIImage
The image used for the decrement glyph of this UIStepper.
GetDividerImage(UIControlState, UIControlState) : UIImage
The image used to divide the specified combination of left and right states.
GetIncrementImage(UIControlState) : UIImage
The image used for the increment glyph of this UIStepper.
SetBackgroundImage(UIImage, UIControlState)
Sets the background image for the specified state.
SetDecrementImage(UIImage, UIControlState)
Sets the decrement image.
SetDividerImage(UIImage, UIControlState, UIControlState)
Sets the divider image.
SetIncrementImage(UIImage, UIControlState)
Set the increment image.