private void OnCityPickerMessage(CityPickerMessage msg) { var cityView = msg.Sender as CityPickerViewModel; // Only handle city picker msg if we were expecting it. if (cityView != null && ViewInstanceId.Equals(cityView.RequestedByViewInstanceId)) { CityFilter = msg.City; } }
private void OnStatePickerMessage(StatePickerMessage msg) { var stateView = msg.Sender as StatePickerViewModel; // Only handle state picker msg if we were expecting it if (stateView != null && ViewInstanceId.Equals(stateView.RequestedByViewInstanceId)) { StateFilter = msg.State; } }
private void OnPropertyPickeryMessage(PropertyPickerMessage msg) { var pickerView = msg.Sender as PropertyPickerViewModel; // Only handle city picker msg if we were expecting it. if (pickerView != null && ViewInstanceId.Equals(pickerView.RequestedByViewInstanceId)) { Properties = msg.Properties; } }