Method SetSelected
SetSelected(int, bool)
Updates the selection state of the specified item.
public virtual void SetSelected(int n, bool select)
Parameters
nintThe zero-based index of the item to update.
selectboolA value indicating whether to select or deselect the item. true to select the item; false to deselect it.