private void OnSelectedItemChanged(AcObjectNew newValue) {
if (InnerItemsSource == null) return;
if (InnerItemsSource.CurrentItem != newValue) {
InnerItemsSource.MoveCurrentToOrNull(newValue);
UpdateSelected();
}
if (SelectionMode != SelectionMode.Single && _listBox != null) {
_ignoreSelectionChange = true;
_listBox.SelectedItems.Clear();
_listBox.SelectedItems.Add(InnerItemsSource.CurrentItem);
_ignoreSelectionChange = false;
}
}