private void OnImageDoubleClicked([CanBeNull] object obj) { OnSelectedImage(obj as ImageSource ?? ImageContainer.FirstOrDefault()); }