//private bool canContactWhistler() //{ // return SelectedWhistleItem != null; //} private void onDisplayWhistleItem(WhistleItemViewModel whistleItem) { //this.WhistleEditViewModel = new WhistleEditViewModel //{ //}; this.WhistleResultViewModel = new ViewModels.WhistleResultViewModel(whistleItem.Whistle.MatchingWhisltes); _messenger.Publish(new MessageHandler(this, HomeConstants.ACTION_SHOW_WHISTLERS)); }
public void ShowWhistler() { SelectedWhistleItem = new WhistleItemViewModel(new Whistle());// change by whistlerItem RaisePropertyChanged(() => SelectedWhistleItem); }