public void Initialize() { DataContext = new ViewModel(_images); _images = null; InitializeComponent(); }