Udostępnij za pośrednictwem


SwitchPreference.SwitchTextOffFormatted Property

Definition

Set the text displayed on the switch widget in the off state.

public virtual Java.Lang.ICharSequence? SwitchTextOffFormatted { [Android.Runtime.Register("getSwitchTextOff", "()Ljava/lang/CharSequence;", "GetGetSwitchTextOffHandler")] get; [Android.Runtime.Register("setSwitchTextOff", "(Ljava/lang/CharSequence;)V", "GetSetSwitchTextOff_Ljava_lang_CharSequence_Handler")] set; }
[<get: Android.Runtime.Register("getSwitchTextOff", "()Ljava/lang/CharSequence;", "GetGetSwitchTextOffHandler")>]
[<set: Android.Runtime.Register("setSwitchTextOff", "(Ljava/lang/CharSequence;)V", "GetSetSwitchTextOff_Ljava_lang_CharSequence_Handler")>]
member this.SwitchTextOffFormatted : Java.Lang.ICharSequence with get, set

Property Value

The text that will be displayed on the switch widget in the off state

Attributes

Remarks

Property getter documentation:

Java documentation for android.preference.SwitchPreference.getSwitchTextOff().

Property setter documentation:

Set the text displayed on the switch widget in the off state. This should be a very short string; one word if possible.

Java documentation for android.preference.SwitchPreference.setSwitchTextOff(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