Method SetSelection
SetSelection(int, bool)
Sets the selected item, optionally extending marking to create a range.
public void SetSelection(int item, bool extendExistingSelection)
Parameters
itemintThe item index to select.
extendExistingSelectionboolIf true and MarkMultiple is enabled, extends marking from the anchor point to
item.