TextView.SetTextKeepState メソッド

定義

オーバーロード

名前 説明
SetTextKeepState(ICharSequence)

表示するテキストを設定しますが、カーソル位置は保持します。

SetTextKeepState(String)

表示するテキストを設定しますが、カーソル位置は保持します。

SetTextKeepState(ICharSequence, TextView+BufferType)

表示するテキストを設定しますが、カーソル位置は保持します。

SetTextKeepState(String, TextView+BufferType)

表示するテキストを設定しますが、カーソル位置は保持します。

SetTextKeepState(ICharSequence)

表示するテキストを設定しますが、カーソル位置は保持します。

[Android.Runtime.Register("setTextKeepState", "(Ljava/lang/CharSequence;)V", "")]
public void SetTextKeepState(Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("setTextKeepState", "(Ljava/lang/CharSequence;)V", "")>]
member this.SetTextKeepState : Java.Lang.ICharSequence -> unit

パラメーター

text
ICharSequence

表示するテキスト

属性

注釈

表示するテキストを設定しますが、カーソル位置は保持します。 カーソル位置 (存在する場合) が新しいテキストに保持されることを除き、 #setText(CharSequence) と同じです。

必要に応じて、TextView は android.text.Spannable.Factory を使用して最終的な Spannable Spannablesまたは中間を作成します。 同様に、 android.text.Editable.Factory を使用して最終的な Editable Editablesまたは中間を作成します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

こちらもご覧ください

適用対象

SetTextKeepState(String)

表示するテキストを設定しますが、カーソル位置は保持します。

public void SetTextKeepState(string? text);
member this.SetTextKeepState : string -> unit

パラメーター

text
String

表示するテキスト

注釈

表示するテキストを設定しますが、カーソル位置は保持します。 カーソル位置 (存在する場合) が新しいテキストに保持されることを除き、 #setText(CharSequence) と同じです。

必要に応じて、TextView は android.text.Spannable.Factory を使用して最終的な Spannable Spannablesまたは中間を作成します。 同様に、 android.text.Editable.Factory を使用して最終的な Editable Editablesまたは中間を作成します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

SetTextKeepState(ICharSequence, TextView+BufferType)

表示するテキストを設定しますが、カーソル位置は保持します。

[Android.Runtime.Register("setTextKeepState", "(Ljava/lang/CharSequence;Landroid/widget/TextView$BufferType;)V", "")]
public void SetTextKeepState(Java.Lang.ICharSequence? text, Android.Widget.TextView.BufferType? type);
[<Android.Runtime.Register("setTextKeepState", "(Ljava/lang/CharSequence;Landroid/widget/TextView$BufferType;)V", "")>]
member this.SetTextKeepState : Java.Lang.ICharSequence * Android.Widget.TextView.BufferType -> unit

パラメーター

text
ICharSequence

表示するテキスト

属性

注釈

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

こちらもご覧ください

  • <xref:Android.Widget.TextView.SetText(Java.Lang.ICharSequence%2c+.BufferType)>

適用対象

SetTextKeepState(String, TextView+BufferType)

表示するテキストを設定しますが、カーソル位置は保持します。

public void SetTextKeepState(string? text, Android.Widget.TextView.BufferType? type);
member this.SetTextKeepState : string * Android.Widget.TextView.BufferType -> unit

パラメーター

text
String

表示するテキスト

注釈

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象