Udostępnij za pośrednictwem


ICheckable.Toggle Method

Definition

Change the checked state of the view to the inverse of its current state

[Android.Runtime.Register("toggle", "()V", "GetToggleHandler:Android.Widget.ICheckableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Toggle ();
[<Android.Runtime.Register("toggle", "()V", "GetToggleHandler:Android.Widget.ICheckableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Toggle : unit -> unit
Attributes

Remarks

Change the checked state of the view to the inverse of its current state

Java documentation for android.widget.Checkable.toggle().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to