Compartilhar via


AbsListView.Selector Property

Definition

Returns the selector android.graphics.drawable.Drawable that is used to draw the selection in the list.

public virtual Android.Graphics.Drawables.Drawable? Selector { [Android.Runtime.Register("getSelector", "()Landroid/graphics/drawable/Drawable;", "GetGetSelectorHandler")] get; [Android.Runtime.Register("setSelector", "(Landroid/graphics/drawable/Drawable;)V", "GetSetSelector_Landroid_graphics_drawable_Drawable_Handler")] set; }
[<get: Android.Runtime.Register("getSelector", "()Landroid/graphics/drawable/Drawable;", "GetGetSelectorHandler")>]
[<set: Android.Runtime.Register("setSelector", "(Landroid/graphics/drawable/Drawable;)V", "GetSetSelector_Landroid_graphics_drawable_Drawable_Handler")>]
member this.Selector : Android.Graphics.Drawables.Drawable with get, set

Property Value

the drawable used to display the selector

Attributes

Remarks

Returns the selector android.graphics.drawable.Drawable that is used to draw the selection in the list.

Java documentation for android.widget.AbsListView.getSelector().

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