次の方法で共有


UIStepper.SetBackgroundImage(UIImage, UIControlState) メソッド

定義

指定した状態の背景画像を設定します。

[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

パラメーター

image
UIImage

使用する背景画像。

このパラメーターは、null に設定できます。

属性

注釈

このメンバーは、スタイルシステムに UIAppearance 参加します。 Appearanceプロパティと メソッドをAppearanceWhenContainedIn(Type[])参照してください。

適用対象