private void SelectItem(IListItemView item)
{
// Setup initial conditions.
if (Script.IsNullOrUndefined(item)) return;
// Update the selection.
ClearSelection(item);
item.IsSelected = true; // NB: The model is updated as well because the View uses a PropertRef to the model's property behind the scenes.
}