TextView.FreezesText Property

Definition

Return whether this text view is including its entire text contents in frozen icicles. -or- Control whether this text view saves its entire text contents when freezing to an icicle, in addition to dynamic state such as cursor position.

public virtual bool FreezesText { [Android.Runtime.Register("getFreezesText", "()Z", "GetGetFreezesTextHandler")] get; [Android.Runtime.Register("setFreezesText", "(Z)V", "GetSetFreezesText_ZHandler")] set; }
[<get: Android.Runtime.Register("getFreezesText", "()Z", "GetGetFreezesTextHandler")>]
[<set: Android.Runtime.Register("setFreezesText", "(Z)V", "GetSetFreezesText_ZHandler")>]
member this.FreezesText : bool with get, set

Property Value

Returns true if text is included, false if it isn't.

Attributes

Remarks

Property getter documentation:

Return whether this text view is including its entire text contents in frozen icicles. For android.widget.EditText it always returns true.

Java documentation for android.widget.TextView.getFreezesText().

Property setter documentation:

Control whether this text view saves its entire text contents when freezing to an icicle, in addition to dynamic state such as cursor position. By default this is false, not saving the text. Set to true if the text in the text view is not being saved somewhere else in persistent storage (such as in a content provider) so that if the view is later thawed the user will not lose their data. For android.widget.EditText it is always enabled, regardless of the value of the attribute.

Java documentation for android.widget.TextView.setFreezesText(boolean).

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

See also