void UpdateState() { if (SelectedItems.Count == 0) { state = SetupDialogListViewState.None; } else { state = SetupDialogListViewState.ItemSelected; } }