Version: 2020.1

ListView.SetSelection

切换到手册
public void SetSelection (int index);

参数

index Item index.

描述

Sets the currently selected item.


public void SetSelection (IEnumerable<int> indices);

参数

indices Collection of items to be selected.

描述

Sets a collection of selected items.