語言

ActionMode.ClearTextSelection 方法

定義

清除文字選擇。

[Android.Runtime.Register("clearTextSelection", "()V", "GetClearTextSelectionHandler", ApiSince=37)]
public virtual void ClearTextSelection();
[<Android.Runtime.Register("clearTextSelection", "()V", "GetClearTextSelectionHandler", ApiSince=37)>]
abstract member ClearTextSelection : unit -> unit
override this.ClearTextSelection : unit -> unit
屬性

備註

清除文字選擇。 當需要清除前一個文字選擇時,會呼叫此方法。 呼叫它也會清除 setTextSelection 先前選擇文字所產生的動作。

Android 參考資料。android.view.ActionMode.clearTextSelection

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於