Share via


UIBarButtonItem.SetBackButtonBackgroundImage Method

Definition

Specifies the UIImage to be used as a background for the specified UIControlState and UIBarMetrics.

[Foundation.Export("setBackButtonBackgroundImage:forState:barMetrics:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetBackButtonBackgroundImage(UIKit.UIImage? backgroundImage, UIKit.UIControlState forState, UIKit.UIBarMetrics barMetrics);
[<Foundation.Export("setBackButtonBackgroundImage:forState:barMetrics:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetBackButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIBarMetrics -> unit
override this.SetBackButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIBarMetrics -> unit

Parameters

backgroundImage
UIImage
forState
UIControlState
barMetrics
UIBarMetrics
Attributes

Applies to