Edit

Share via


UISearchBar.GetSearchFieldBackgroundImage(UIControlState) Method

Definition

The UIImage used for the background of the search text field for the specified state.

[Foundation.Export("searchFieldBackgroundImageForState:")]
public virtual UIKit.UIImage GetSearchFieldBackgroundImage (UIKit.UIControlState state);
abstract member GetSearchFieldBackgroundImage : UIKit.UIControlState -> UIKit.UIImage
override this.GetSearchFieldBackgroundImage : UIKit.UIControlState -> UIKit.UIImage

Parameters

Returns

Attributes

Remarks

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

Applies to