Android.Widget.ListView.SetSelectionFromTop Method
Sets the selected item and positions the selection y pixels from the top edge of the ListView.

Syntax

[Android.Runtime.Register("setSelectionFromTop", "(II)V", "GetSetSelectionFromTop_IIHandler")]
public override void SetSelectionFromTop (int position, int y)

Parameters

p0
Documentation for this section has not yet been entered.
p1
Documentation for this section has not yet been entered.
position
Index (starting at 0) of the data item to be selected.
y
The distance from the top edge of the ListView (plus padding) that the item will be positioned.

Remarks

Sets the selected item and positions the selection y pixels from the top edge of the ListView. (If in touch mode, the item will not be selected but it will still be positioned appropriately.)

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1