UIKit.UISearchBar.SetBackgroundImage Method
Sets the UIImage used for the background for the specified position and metrics.

Syntax

[Foundation.Export("setBackgroundImage:forBarPosition:barMetrics:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public virtual void SetBackgroundImage (UIImage backgroundImage, UIBarPosition barPosition, UIBarMetrics barMetrics)

Parameters

backgroundImage
Documentation for this section has not yet been entered.
barPosition
Documentation for this section has not yet been entered.
barMetrics
Documentation for this section has not yet been entered.

Remarks

This member participates in the UIKit.UIAppearance styling system. See the UISearchBar.Appearance property and the UISearchBar.AppearanceWhenContainedIn method.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0