AutoCompleteTextView.ListSelection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the position of the dropdown view selection, if there is one. -or- Set the position of the dropdown view selection.
public virtual int ListSelection { [Android.Runtime.Register("getListSelection", "()I", "GetGetListSelectionHandler")] get; [Android.Runtime.Register("setListSelection", "(I)V", "GetSetListSelection_IHandler")] set; }
[<get: Android.Runtime.Register("getListSelection", "()I", "GetGetListSelectionHandler")>]
[<set: Android.Runtime.Register("setListSelection", "(I)V", "GetSetListSelection_IHandler")>]
member this.ListSelection : int with get, set
Property Value
the position of the current selection, if there is one, or
ListView#INVALID_POSITION ListView.INVALID_POSITION
if not.
- Attributes
Remarks
Property getter documentation:
Get the position of the dropdown view selection, if there is one. Returns ListView#INVALID_POSITION ListView.INVALID_POSITION
if there is no dropdown or if there is no selection.
Java documentation for android.widget.AutoCompleteTextView.getListSelection()
.
Property setter documentation:
Set the position of the dropdown view selection.
Java documentation for android.widget.AutoCompleteTextView.setListSelection(int)
.
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.