Szerkesztés

Megosztás a következőn keresztül:


UISearchBar.SetBackgroundImage(UIImage, UIBarPosition, UIBarMetrics) Method

Definition

Sets the UIImage used for the background for the specified position and metrics.

[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

To be added.

This parameter can be null.

barPosition
UIBarPosition
barMetrics
UIBarMetrics
Attributes

Remarks

This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.

Applies to