语言

ExpandableListView.SetSelectedGroup(Int32) 方法

定义

将所选内容设置为指定的组。

[Android.Runtime.Register("setSelectedGroup", "(I)V", "GetSetSelectedGroup_IHandler")]
public virtual void SetSelectedGroup(int groupPosition);
[<Android.Runtime.Register("setSelectedGroup", "(I)V", "GetSetSelectedGroup_IHandler")>]
abstract member SetSelectedGroup : int -> unit
override this.SetSelectedGroup : int -> unit

参数

groupPosition
Int32

应选择的组的位置。

属性

注解

将所选内容设置为指定的组。

Java文档android.widget.ExpandableListView.setSelectedGroup(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于