private void UnloadThumbnail() { if (_thumbnail != null) { _thumbnail = null; if (_isShowingThumbnail) { _image.UnloadStreamSource(); _isShowingThumbnail = false; } } }