UINavigationBar.SetBackgroundImage メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
SetBackgroundImage(UIImage, UIBarMetrics) |
の背景画像を変更します |
SetBackgroundImage(UIImage, UIBarPosition, UIBarMetrics) |
と |
SetBackgroundImage(UIImage, UIBarMetrics)
の背景画像を変更します barMetrics
。
[Foundation.Export("setBackgroundImage:forBarMetrics:")]
public virtual void SetBackgroundImage(UIKit.UIImage backgroundImage, UIKit.UIBarMetrics barMetrics);
abstract member SetBackgroundImage : UIKit.UIImage * UIKit.UIBarMetrics -> unit
override this.SetBackgroundImage : UIKit.UIImage * UIKit.UIBarMetrics -> unit
パラメーター
- barMetrics
- UIBarMetrics
ツール バーの向きを指定します。
- 属性
注釈
このメンバーは、スタイルシステムに UIAppearance 参加します。 Appearanceプロパティと メソッドをAppearanceWhenContainedIn(Type[])参照してください。
こちらもご覧ください
- <xref:UIKit.UINavigationBar.GetBackgroundImage>
適用対象
SetBackgroundImage(UIImage, UIBarPosition, UIBarMetrics)
と barMetrics
の背景画像をbarPosition
設定します。
[Foundation.Export("setBackgroundImage:forBarPosition:barMetrics:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetBackgroundImage(UIKit.UIImage backgroundImage, UIKit.UIBarPosition barPosition, UIKit.UIBarMetrics barMetrics);
abstract member SetBackgroundImage : UIKit.UIImage * UIKit.UIBarPosition * UIKit.UIBarMetrics -> unit
override this.SetBackgroundImage : UIKit.UIImage * UIKit.UIBarPosition * UIKit.UIBarMetrics -> unit
パラメーター
- barPosition
- UIBarPosition
ビュー内のツール バーの位置。
- barMetrics
- UIBarMetrics
ツール バーの向きを指定します。
- 属性
注釈
このメンバーは、スタイルシステムに UIAppearance 参加します。 Appearanceプロパティと メソッドをAppearanceWhenContainedIn(Type[])参照してください。
こちらもご覧ください
- <xref:UIKit.UINavigationBar.GetBackgroundImage>