UIKit.UINavigationBar.GetBackgroundImage Method
The background used when the UIKit.UINavigationBar has the specified forBarMetrics.

Syntax

[Foundation.Export("backgroundImageForBarMetrics:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual UIImage GetBackgroundImage (UIBarMetrics forBarMetrics)

Parameters

forBarMetrics
Specifies the orienation 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