Share via


UISearchBar.SetShowsCancelButton(Boolean, Boolean) Method

Definition

[Foundation.Export("setShowsCancelButton:animated:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetShowsCancelButton(bool showsCancelButton, bool animated);
[<Foundation.Export("setShowsCancelButton:animated:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetShowsCancelButton : bool * bool -> unit
override this.SetShowsCancelButton : bool * bool -> unit

Parameters

showsCancelButton
Boolean
animated
Boolean
Attributes

Applies to