public LookupQuickPickerView( LookupQuickPickerViewModel lookupQuickPickerViewModel ) : this() { DataContext = lookupQuickPickerViewModel; var regionContext = RegionContext.GetObservableContext ( this ); regionContext.PropertyChanged += ( source, args ) => { lookupQuickPickerViewModel.SearchCommunicater = ( LookupQuickPickerCommunicator )regionContext.Value; }; }
public LookupQuickPickerView(LookupQuickPickerViewModel lookupQuickPickerViewModel) : this() { DataContext = lookupQuickPickerViewModel; var regionContext = RegionContext.GetObservableContext(this); regionContext.PropertyChanged += (source, args) => { lookupQuickPickerViewModel.SearchCommunicater = ( LookupQuickPickerCommunicator )regionContext.Value; }; }