UIBarButtonItem.SetBackButtonBackgroundImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows the button's background image to be set.
[Foundation.Export("setBackButtonBackgroundImage:forState:barMetrics:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetBackButtonBackgroundImage (UIKit.UIImage backgroundImage, UIKit.UIControlState forState, UIKit.UIBarMetrics barMetrics);
abstract member SetBackButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIBarMetrics -> unit
override this.SetBackButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIBarMetrics -> unit
Parameters
- forState
- UIControlState
The state to set the background image for.
- barMetrics
- UIBarMetrics
The bar metrics to se thte background image for
- Attributes
Remarks
This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.