다음을 통해 공유


CompoundButton.Toggle Method

Definition

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

[Android.Runtime.Register("toggle", "()V", "GetToggleHandler")]
public virtual void Toggle ();
[<Android.Runtime.Register("toggle", "()V", "GetToggleHandler")>]
abstract member Toggle : unit -> unit
override this.Toggle : unit -> unit

Implements

Attributes

Remarks

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