iOS Guides | Samples

MonoTouch.UIKit.UITabBar Class

A UIView that displays a control used to select one value out of many (a radio-button like system).

See Also: UITabBar

Syntax

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

Related content

Requirements

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

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

Public Properties

[read-only]
static
AppearanceUITabBar+UITabBarAppearance. Strongly-typed property that returns the UIAppearance class for this class.
BackgroundImageUIImage. The background image for the UITabBar.
BarStyleUIBarStyle. The appearance style for this UITabBar.
BarTintColorUIColor. The tint applied to this UITabBar's background.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
DelegateUITabBarDelegate. An instance of the MonoTouch.UIKit.UITabBarDelegate model class which acts as the class delegate.
[read-only]
IsCustomizingBoolean. Whether the user is currently customizing the UITabBar.
ItemPositioningUITabBarItemPositioning. The positioning scheme used for items in this UITabBar.
ItemsUITabBarItem[]. The items displayed by this UITabBar.
ItemSpacingSingle. The inter-item spacing, in points, when using centered-style positioning.
ItemWidthSingle. The width for items, in points, when using centered-style positioning.
SelectedImageTintColorUIColor. The tint applied to the selected tab bar item.
SelectedItemUITabBarItem. The selected tab bar item.
SelectionIndicatorImageUIImage. The image used to indicate selection.
ShadowImageUIImage. The shadow image used by this UITabBar.
TranslucentBoolean. Whether this UITabBar is translucent or not.
UnselectedItemTintColorUIColor. Gets or sets the tint color used with unselected items.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

static
AppearanceWhenContainedIn(params Type[]) : UITabBar+UITabBarAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
BeginCustomizingItems(UITabBarItem[])
Presents a modal view allowing the user to add, remove, and rearrange items on this UITabBar.
EndCustomizingAnimated(Boolean) : Boolean
Dismisses the modal view used to modify items on this UITabBar, animating if animated is true.
static
GetAppearance(UITraitCollection) : UITabBar+UITabBarAppearance
Returns an appearance proxy for the specified traits.
static
GetAppearance(UITraitCollection, params Type[]) : UITabBar+UITabBarAppearance
Returns an appearance proxy for the specified traits.
static
GetAppearance<T>() : UITabBar+UITabBarAppearance
Obtains the appearance proxy UITabBarAppearance for the subclass of UITabBar.
static
GetAppearance<T>(UITraitCollection) : UITabBar+UITabBarAppearance
Obtains the appearance proxy UITabBarAppearance for the subclass of UITabBar.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UITabBar+UITabBarAppearance
Obtains the appearance proxy UITabBarAppearance for the subclass of UITabBar that has the specified trait collection when the view is hosted in the specified hierarchy.
SetItems(UITabBarItem[], Boolean)
Sets the items on the UITabBar, optionally animating their addition.

Protected Methods

override
Dispose(Boolean)
Releases the resources used by the UITabBar object.

Public Events

DidBeginCustomizingItemsEvent raised by the object.
DidEndCustomizingItemsEvent raised by the object.
ItemSelectedEvent raised by the object.
WillBeginCustomizingItemsEvent raised by the object.
WillEndCustomizingItemsEvent raised by the object.