Share via


EditTextPreference.Text Property

Definition

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

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; }
[<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

The current preference value.

Attributes

Remarks

Property getter documentation:

Gets the text from the SharedPreferences.

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

Property setter documentation:

Saves the text to the SharedPreferences.

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