UINavigationBar.UINavigationBarAppearance.GetBackgroundImage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性