public VmTestQuestionContent(VmPopupHostingPage vmPopupHostingPage, int index) { Index = index; this.vmPopupHostingPage = vmPopupHostingPage; SelectedAnswers = new ObservableCollection<object>(); CommandShowImage = new RelayCommand(ShowImage); }
public VmQuestionContent(VmPopupHostingPage vmPopupHostingPage) { this.vmPopupHostingPage = vmPopupHostingPage; SelectedAnswers = new ObservableCollection<object>(); SelectedAnswers.CollectionChanged += SelectedAnswers_CollectionChanged; CommandShowImage = new RelayCommand(ShowImage); }