UIKit.UIBarButtonItem.SetBackButtonBackgroundImage Method
Allows the button's background image to be set.

Syntax

[Foundation.Export("setBackButtonBackgroundImage:forState:barMetrics:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual void SetBackButtonBackgroundImage (UIImage backgroundImage, UIControlState forState, UIBarMetrics barMetrics)

Parameters

backgroundImage

The button's background image.

This parameter can be null.

forState
The state to set the background image for.
barMetrics
The bar metrics to se thte background image for

Remarks

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

Requirements

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