共用方式為


UINavigationBar.UINavigationBarAppearance.GetBackgroundImage 方法

定義

多載

GetBackgroundImage(UIBarMetrics)

用於指定 UIBarMetrics 的背景影像。

GetBackgroundImage(UIBarPosition, UIBarMetrics)

用於指定 UIBarPosition 和 UIBarMetrics 的背景影像。

GetBackgroundImage(UIBarMetrics)

用於指定 UIBarMetrics 的背景影像。

[Foundation.Export("backgroundImageForBarMetrics:")]
public virtual UIKit.UIImage GetBackgroundImage (UIKit.UIBarMetrics forBarMetrics);
abstract member GetBackgroundImage : UIKit.UIBarMetrics -> UIKit.UIImage
override this.GetBackgroundImage : UIKit.UIBarMetrics -> UIKit.UIImage

參數

forBarMetrics
UIBarMetrics

傳回

屬性

適用於

GetBackgroundImage(UIBarPosition, UIBarMetrics)

用於指定 UIBarPosition 和 UIBarMetrics 的背景影像。

[Foundation.Export("backgroundImageForBarPosition:barMetrics:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIImage GetBackgroundImage (UIKit.UIBarPosition barPosition, UIKit.UIBarMetrics barMetrics);
abstract member GetBackgroundImage : UIKit.UIBarPosition * UIKit.UIBarMetrics -> UIKit.UIImage
override this.GetBackgroundImage : UIKit.UIBarPosition * UIKit.UIBarMetrics -> UIKit.UIImage

參數

barPosition
UIBarPosition
barMetrics
UIBarMetrics

傳回

屬性

適用於