EditTextPreference.Text Property

Definition

Caution

deprecated

Gets the text from the SharedPreferences. -or- Saves the text to the SharedPreferences.

[System.Obsolete("deprecated")]
public virtual string? Text { [Android.Runtime.Register("getText", "()Ljava/lang/String;", "GetGetTextHandler")] get; [Android.Runtime.Register("setText", "(Ljava/lang/String;)V", "GetSetText_Ljava_lang_String_Handler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getText", "()Ljava/lang/String;", "GetGetTextHandler")>]
[<set: Android.Runtime.Register("setText", "(Ljava/lang/String;)V", "GetSetText_Ljava_lang_String_Handler")>]
member this.Text : string with get, set

Property Value

String

The current preference value.

Attributes

Remarks

Property getter documentation:

Java documentation for android.preference.EditTextPreference.getText().

Property setter documentation:

Java documentation for android.preference.EditTextPreference.setText(java.lang.String).

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