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

            regionContext.PropertyChanged += (source, args) =>
            {
                lookupQuickPickerViewModel.SearchCommunicater =
                    ( LookupQuickPickerCommunicator )regionContext.Value;
            };
        }