Condividi tramite


UISearchBar.SetSearchFieldBackgroundImage(UIImage, UIControlState) Metodo

Definizione

Imposta l'oggetto UIImage usato come sfondo per il campo di testo di ricerca per lo stato specificato.

[Foundation.Export("setSearchFieldBackgroundImage:forState:")]
public virtual void SetSearchFieldBackgroundImage(UIKit.UIImage backgroundImage, UIKit.UIControlState state);
abstract member SetSearchFieldBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit
override this.SetSearchFieldBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit

Parametri

backgroundImage
UIImage

Da aggiungere.

Questo parametro può essere null.

Attributi

Commenti

Questo membro partecipa al sistema di UIAppearance stili. Vedere la Appearance proprietà e il AppearanceWhenContainedIn(Type[]) metodo .

Si applica a