Condividi tramite


UISearchBar.SetShowsCancelButton(Boolean, Boolean) Metodo

Definizione

Imposta lo stato di visualizzazione del pulsante Annulla, eventualmente animando la modifica.

[Foundation.Export("setShowsCancelButton:animated:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetShowsCancelButton (bool showsCancelButton, bool animated);
abstract member SetShowsCancelButton : bool * bool -> unit
override this.SetShowsCancelButton : bool * bool -> unit

Parametri

showsCancelButton
Boolean
animated
Boolean
Attributi

Si applica a