Upravit

Sdílet prostřednictvím


UIStepper.SetBackgroundImage(UIImage, UIControlState) Method

Definition

Sets the background image for the specified state.

[Foundation.Export("setBackgroundImage:forState:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetBackgroundImage (UIKit.UIImage image, UIKit.UIControlState state);
abstract member SetBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit
override this.SetBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit

Parameters

image
UIImage

Background image to use.

This parameter can be null.

Attributes

Remarks

This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.

Applies to