UISearchBar.UISearchBarAppearance.BackgroundImageForBarPosition 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.
The UIImage used for the search bar's background, given the specified UIBarPosition and UIBarMetrics.
[Foundation.Export("backgroundImageForBarPosition:barMetrics:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIImage BackgroundImageForBarPosition (UIKit.UIBarPosition barPosition, UIKit.UIBarMetrics barMetrics);
abstract member BackgroundImageForBarPosition : UIKit.UIBarPosition * UIKit.UIBarMetrics -> UIKit.UIImage
override this.BackgroundImageForBarPosition : UIKit.UIBarPosition * UIKit.UIBarMetrics -> UIKit.UIImage
Parameters
- barPosition
- UIBarPosition
- barMetrics
- UIBarMetrics
Returns
- Attributes