Translation of "ViewModel" in German
We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
How ViewModel first construction approach leverages the capabilities of implicit data templates in WPF?
Wie Ansichtsmodell erste Konstruktion Ansatz nutzt die Fähigkeiten von impliziten Datenvorlagen in WPF?
In the context of MVVM, the receiver is typically a method in your ViewModel that needs to be called.
Im Kontext der MVVM ist der Empfänger typischerweise eine Methode in der Ansichtsmodell, die aufgerufen werden muss.
Set the Views DataContext to the ViewModel.
The other key responsibility of ViewModel is to encapsulate the interaction logic for a view, but that does not mean all of the logic of the application should go into ViewModel.
Der andere wichtige Aufgabe der Ansichtsmodell ist es, die Interaktionslogik für eine Ansicht zu kapseln, aber das bedeutet nicht, die gesamte Logik der Anwendung sollte in Ansichtsmodell gehen.
ViewModel - It acts as the link/connection between the Model and ViewModel, and makes stuff look pretty.
Ansichtsmodell - Es fungiert als Bindeglied/ Verbindung zwischen dem Modell und Ansichtsmodell und macht Sachen hübsch aussehen.
The ViewModel contains the interaction between the two layers.
Das ViewModel enthält die Interaktion beider Schichten.
A simple example is the preparation of a welcome message in the ViewModel
Ein simples Beispiel ist die Aufbereitung eines Willkommens-Textes im ViewModel
How should the ViewModel close the form?
Wie sollte das ViewModel das Formular schließen?
What are the responsibilities of ViewModel?
Was sind die Aufgaben der Viewmodel?
You only need to ensure you don't have multiple views for the same ViewModel and the same platform.
Es muss nur sichergestellt werden, dass es nicht mehrere Views für das gleiche ViewModel und die gleiche Plattform gibt.
Thisis instead connected to a variable (e.g. vm for ViewModel) within the controller, which results in better legibility.
Stattdessen wird this innerhalb des Controllers an eine Variable (z.B. vm für ViewModel) gebunden, was zu besserer Lesbarkeit führt.
Because the logic regarding what can be done with the data is embedded in the UI (or in the ViewModel, if you've taken that step), it will be scattered across the application.
Da die Logik, die sich darauf bezieht, was mit den Daten gemacht werden kann, in die UI eingebettet ist (oder in ViewModel, sofern Sie diesen Schritt gemacht haben), ist sie über die Anwendung verteilt.
Because of the independence from the UI the ViewModel can be tested with unit tests.