Share via


UISegmentedControl.UISegmentedControlAppearance.GetBackgroundImage Method

Definition

The background image used for the specified UIControlState and UIBarMetrics.

[Foundation.Export("backgroundImageForState:barMetrics:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIImage GetBackgroundImage(UIKit.UIControlState state, UIKit.UIBarMetrics barMetrics);
[<Foundation.Export("backgroundImageForState:barMetrics:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBackgroundImage : UIKit.UIControlState * UIKit.UIBarMetrics -> UIKit.UIImage
override this.GetBackgroundImage : UIKit.UIControlState * UIKit.UIBarMetrics -> UIKit.UIImage

Parameters

barMetrics
UIBarMetrics

Returns

Attributes

Applies to