public AgencyQuickPickerView( AgencyQuickPickerViewModel agencyQuickPickerViewModel ) : this() { DataContext = agencyQuickPickerViewModel; var regionContext = RegionContext.GetObservableContext ( this ); regionContext.PropertyChanged += ( source, args ) => { agencyQuickPickerViewModel.SearchCommunicater = ( QuickPickerCommunicator )regionContext.Value; }; }
public AgencyQuickPickerView(AgencyQuickPickerViewModel agencyQuickPickerViewModel) : this() { DataContext = agencyQuickPickerViewModel; var regionContext = RegionContext.GetObservableContext(this); regionContext.PropertyChanged += (source, args) => { agencyQuickPickerViewModel.SearchCommunicater = ( QuickPickerCommunicator )regionContext.Value; }; }