UISearchBar.BackgroundImageForBarPosition(UIBarPosition, UIBarMetrics) 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 background for the specified position and metrics.
[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
Remarks
This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.