iOS Guides | Samples

MonoTouch.UIKit.UIToolbar.UIToolbarAppearance Class

Appearance class for objects of type UIToolbar.

See Also: UIToolbar+UIToolbarAppearance

Syntax

public class UIToolbar.UIToolbarAppearance : UIView+UIViewAppearance

Remarks

This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class UIToolbar. You can obtain an instance to this class by either accessing the static UIToolbar.Appearance property on the UIToolbar or by calling the UIToolbar.AppearanceWhenContainedIn to get a UIAppearance that is context sensitive.

Requirements

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

The members of MonoTouch.UIKit.UIToolbar.UIToolbarAppearance are listed below.

See Also: UIView+UIViewAppearance

Protected Constructors

Public Properties

BarTintColorUIColor. The tint applied to the UIToolbar background.

Public Methods

GetBackgroundImage(UIToolbarPosition, UIBarMetrics) : UIImage
The UIImage used for the background for the given position and barMetrics.
GetShadowImage(UIToolbarPosition) : UIImage
The image used for the shadow for the specified UIToolbarPosition.
SetBackgroundImage(UIImage, UIToolbarPosition, UIBarMetrics)
Sets the background image for the position and barMetrics.
SetShadowImage(UIImage, UIToolbarPosition)
Specifies the shadow image for the specified UIToolbarPosition.