ToggleButton.TextOnFormatted Property

Definition

Returns the text for when the button is in the checked state. -or- Sets the text for when the button is in the checked state.

public virtual Java.Lang.ICharSequence? TextOnFormatted { [Android.Runtime.Register("getTextOn", "()Ljava/lang/CharSequence;", "GetGetTextOnHandler")] get; [Android.Runtime.Register("setTextOn", "(Ljava/lang/CharSequence;)V", "GetSetTextOn_Ljava_lang_CharSequence_Handler")] set; }
[<get: Android.Runtime.Register("getTextOn", "()Ljava/lang/CharSequence;", "GetGetTextOnHandler")>]
[<set: Android.Runtime.Register("setTextOn", "(Ljava/lang/CharSequence;)V", "GetSetTextOn_Ljava_lang_CharSequence_Handler")>]
member this.TextOnFormatted : Java.Lang.ICharSequence with get, set

Property Value

The text.

Attributes

Remarks

Property getter documentation:

Returns the text for when the button is in the checked state.

Java documentation for android.widget.ToggleButton.getTextOn().

Property setter documentation:

Sets the text for when the button is in the checked state.

Java documentation for android.widget.ToggleButton.setTextOn(java.lang.CharSequence).

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