iOS Guides | Samples

MonoTouch.UIKit.UINavigationBar.UINavigationBarAppearance Class

Appearance class for objects of type UINavigationBar.

See Also: UINavigationBar+UINavigationBarAppearance

Syntax

public class UINavigationBar.UINavigationBarAppearance : UIView+UIViewAppearance

Remarks

This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class UINavigationBar. You can obtain an instance to this class by either accessing the static UINavigationBar.Appearance property on the UINavigationBar or by calling the UINavigationBar.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.UINavigationBar.UINavigationBarAppearance are listed below.

See Also: UIView+UIViewAppearance

Protected Constructors

Public Properties

BackIndicatorImageUIImage. The UIImage shown beside the back button.
BackIndicatorTransitionMaskImageUIImage. The UIImage used as a mask for content during push and pop transitions.
BarStyleUIBarStyle.
BarTintColorUIColor. The tint applied to the navigation bar background.
ShadowImageUIImage. The shadow image for the navigation bar.
TitleTextAttributesUIStringAttributes. Gets or sets the string attributes for the title text.
TranslucentBoolean.

Public Methods

GetBackgroundImage(UIBarMetrics) : UIImage
The background image used for the specified UIBarMetrics.
GetBackgroundImage(UIBarPosition, UIBarMetrics) : UIImage
The background image used for the specified UIBarPosition and UIBarMetrics.
GetTitleTextAttributes() : UITextAttributes
Display attributes for the bar's title.
GetTitleVerticalPositionAdjustment(UIBarMetrics) : Single
The vertical adjustment of the title for the specified UIBarMetrics.
SetBackgroundImage(UIImage, UIBarMetrics)
Sets the background image for the specified UIBarMetrics.
SetBackgroundImage(UIImage, UIBarPosition, UIBarMetrics)
Sets the background image to use for the specified UIBarPosition and UIBarMetrics.
SetTitleTextAttributes(UITextAttributes)
Sets the text attributes used by the title text.
SetTitleVerticalPositionAdjustment(Single, UIBarMetrics)
Sets the vertical adjustment of the title for the specified UIBarMetrics.