private void OnAddArgumentExecute() { SaveChanges(); var resourceString = _sharedResourcesGlobalViewModel.OpenSharedResourcesForSelectingString <IPropertyEditorViewModel>(); if (resourceString != null) { _formulaFormatter.UshortFormattableResources.Add(resourceString); } this.ArgumentViewModels.Add(new ArgumentViewModel() { ResourceNameString = resourceString, ArgumentName = resourceString, TestValue = 10, }); // this.InitFromFormatter(this._formulaFormatter); }
private void OnSetResourceToDependencyExecute() { RelatedResourceName = _sharedResourcesGlobalViewModel .OpenSharedResourcesForSelectingString <IDiscretMeasuringElementEditorViewModel>(); }
private void OnSelectPropertyFromResourceExecute() { ReferencedResourcePropertyName = _sharedResourcesGlobalViewModel .OpenSharedResourcesForSelectingString <IPropertyEditorViewModel>(); }