GridView.SetSelection(Int32) メソッド

定義

現在選択されている項目を設定します。

[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

パラメーター

position
Int32

選択するデータ項目のインデックス (0 から始まる)。

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

注釈

現在選択されている項目を設定します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象