Open.Core.Lists.ListView.SelectItem C# (CSharp) Метод

SelectItem() приватный Метод

private SelectItem ( IListItemView item ) : void
item IListItemView
Результат void
        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.
        }