Compartir a través de


UISearchBar.SetShowsCancelButton(Boolean, Boolean) Método

Definición

Establece el estado de presentación del botón cancelar, lo que opcionalmente anima el cambio.

[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

Parámetros

showsCancelButton
Boolean
animated
Boolean
Atributos

Se aplica a