UIButton.UIButtonAppearance.SetBackgroundImage(UIImage, UIControlState) UIButton.UIButtonAppearance.SetBackgroundImage(UIImage, UIControlState) Method

Definition

Sets the background image for the specified state.

[Foundation.Export("setBackgroundImage:forState:")]
public virtual void SetBackgroundImage (UIKit.UIImage image, UIKit.UIControlState forState);
abstract member SetBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit
override this.SetBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit

Parameters

Applies to