語言

TextView.TextCursorDrawable 屬性

定義

傳回對應至文字游標的 Drawable。 -或- 設定對應至文字游標的 Drawable。

public virtual Android.Graphics.Drawables.Drawable? TextCursorDrawable { [Android.Runtime.Register("getTextCursorDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetTextCursorDrawableHandler", ApiSince=29)] get; [Android.Runtime.Register("setTextCursorDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetTextCursorDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getTextCursorDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetTextCursorDrawableHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setTextCursorDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetTextCursorDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=29)>]
member this.TextCursorDrawable : Android.Graphics.Drawables.Drawable with get, set

屬性值

文字游標可繪製

屬性

備註

財產取得者文件:

傳回對應至文字游標的 Drawable。 請注意,游標可繪製游標上的任何變更,直到游標被隱藏並再次繪製時,才會被看到。

Java 文件 android.widget.TextView.getTextCursorDrawable()。

屬性設定文件:

設定對應至文字游標的 Drawable。 Drawable 預設值為 textCursorDrawable 屬性。 請注意,游標可繪製游標上的任何變更,直到游標被隱藏並再次繪製時,才會被看到。

Java 文件 android.widget.TextView.setTextCursorDrawable(android.graphics.drawable.Drawable)。

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

適用於