Bearbeiten

Freigeben über


UISegmentedControl.UISegmentedControlAppearance.SetBackgroundImage 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
barMetrics
UIBarMetrics
Attributes

Applies to