GridView.SetSelection(Int32) Método

Definición

Establece el elemento seleccionado actualmente.

[Android.Runtime.Register("setSelection", "(I)V", "GetSetSelection_IHandler")]
public override void SetSelection(int position);
[<Android.Runtime.Register("setSelection", "(I)V", "GetSetSelection_IHandler")>]
override this.SetSelection : int -> unit

Parámetros

position
Int32

Índice (a partir de 0) del elemento de datos que se va a seleccionar.

        If in touch mode, the item will not be selected but it will still be positioned
        appropriately.
Atributos

Comentarios

Establece el elemento seleccionado actualmente.

Java documentación para android.widget.GridView.setSelection(int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a