UINavigationBar.UINavigationBarAppearance.SetBackgroundImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetBackgroundImage(UIImage, UIBarMetrics) |
Sets the background image for the specified UIBarMetrics. |
SetBackgroundImage(UIImage, UIBarPosition, UIBarMetrics) |
Sets the background image to use for the specified UIBarPosition and UIBarMetrics. |
SetBackgroundImage(UIImage, UIBarMetrics)
Sets the background image for the specified UIBarMetrics.
[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
Parameters
- backgroundImage
- UIImage
- barMetrics
- UIBarMetrics
- Attributes
Applies to
SetBackgroundImage(UIImage, UIBarPosition, UIBarMetrics)
Sets the background image to use for the specified UIBarPosition and UIBarMetrics.
[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
Parameters
- backgroundImage
- UIImage
- barPosition
- UIBarPosition
- barMetrics
- UIBarMetrics
- Attributes