UIKit.UINavigationBar.GetBackgroundImage Method
The background image used when the bar is in the specified barPosition and has the metrics specified by barMetrics.

Syntax

[Foundation.Export("backgroundImageForBarPosition:barMetrics:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public virtual UIImage GetBackgroundImage (UIBarPosition barPosition, UIBarMetrics barMetrics)

Parameters

barPosition
The position of the tool bar in the view.
barMetrics
Specifies the orientation of the toolbar.

Returns

Will return null if the toolbar is using the system image, and not a custom image.

Remarks

This member participates in the UIKit.UIAppearance styling system. See the UINavigationBar.Appearance property and the UINavigationBar.AppearanceWhenContainedIn method.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0