BaseTreeView.SetSelectionById

Declaration

public void SetSelectionById(int id);

Parameters

id The item id.

Description

Sets the currently selected item by id.

This will also expand the selected item if not expanded already.


Declaration

public void SetSelectionById(IEnumerable<int> ids);

Parameters

ids The item ids.

Description

Sets a collection of selected items by ids.

This will also expand the selected items if not expanded already.


Did you find this page useful? Please give it a rating: