Düzenle

Aracılığıyla paylaş


UISearchBar.BackgroundImageForBarPosition(UIBarPosition, UIBarMetrics) Method

Definition

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.

Applies to