Megosztás a következőn keresztül:


TextView.TextSelectHandle Property

Definition

Returns the Drawable corresponding to the selection handle used for positioning the cursor within text. -or- Sets the Drawable corresponding to the selection handle used for positioning the cursor within text.

public virtual Android.Graphics.Drawables.Drawable? TextSelectHandle { [Android.Runtime.Register("getTextSelectHandle", "()Landroid/graphics/drawable/Drawable;", "GetGetTextSelectHandleHandler", ApiSince=29)] get; [Android.Runtime.Register("setTextSelectHandle", "(Landroid/graphics/drawable/Drawable;)V", "GetSetTextSelectHandle_Landroid_graphics_drawable_Drawable_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getTextSelectHandle", "()Landroid/graphics/drawable/Drawable;", "GetGetTextSelectHandleHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setTextSelectHandle", "(Landroid/graphics/drawable/Drawable;)V", "GetSetTextSelectHandle_Landroid_graphics_drawable_Drawable_Handler", ApiSince=29)>]
member this.TextSelectHandle : Android.Graphics.Drawables.Drawable with get, set

Property Value

the text select handle drawable

Attributes

Remarks

Property getter documentation:

Returns the Drawable corresponding to the selection handle used for positioning the cursor within text. Note that any change applied to the handle Drawable will not be visible until the handle is hidden and then drawn again.

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

Property setter documentation:

Sets the Drawable corresponding to the selection handle used for positioning the cursor within text. The Drawable defaults to the value of the textSelectHandle attribute. Note that any change applied to the handle Drawable will not be visible until the handle is hidden and then drawn again.

Java documentation for android.widget.TextView.setTextSelectHandle(android.graphics.drawable.Drawable).

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