UISegmentedControl.UISegmentedControlAppearance.SetBackgroundImage(UIImage, UIControlState, UIBarMetrics) UISegmentedControl.UISegmentedControlAppearance.SetBackgroundImage(UIImage, UIControlState, UIBarMetrics) Method

Definition

Sets the background image used for the specified UIControlState and UIBarMetrics.

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

Parameters

backgroundImage
UIImage UIImage

Applies to