Compartir a través de


Switch.TextOffFormatted Property

Definition

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

public virtual Java.Lang.ICharSequence? TextOffFormatted { [Android.Runtime.Register("getTextOff", "()Ljava/lang/CharSequence;", "GetGetTextOffHandler")] get; [Android.Runtime.Register("setTextOff", "(Ljava/lang/CharSequence;)V", "GetSetTextOff_Ljava_lang_CharSequence_Handler")] set; }
[<get: Android.Runtime.Register("getTextOff", "()Ljava/lang/CharSequence;", "GetGetTextOffHandler")>]
[<set: Android.Runtime.Register("setTextOff", "(Ljava/lang/CharSequence;)V", "GetSetTextOff_Ljava_lang_CharSequence_Handler")>]
member this.TextOffFormatted : Java.Lang.ICharSequence with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the text displayed when the button is not in the checked state.

Java documentation for android.widget.Switch.getTextOff().

Property setter documentation:

Sets the text displayed when the button is not in the checked state.

Java documentation for android.widget.Switch.setTextOff(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