Vertaling van "le viewmodel" in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Son rôle est un peu particulier car il nous servira de médiateur entre le ViewModel et les différentes sources de données.
Its role is a bit particular because it we will serve as a mediator between the ViewModel and the various data sources.
Par exemple, dans le cadre de l'utilisation du pattern MVVM, on peut binder cette propriété sur une commande déclarée dans le ViewModel
When used with the MVVM pattern, this property allows you to bind to a command declared in the ViewModel
Le ViewModel : Le contrôleur implémentera toutefois une classe de type ViewModel, dont le rôle sera de fournir au contrôleur les données utilisées par l'interface graphique.
The ViewModel: The controller will however implement a class of the type ViewModel, whose role will be to provide the controller with data used by the GUI.
Dans la grille, on veut pouvoir afficher où masquer la colonne du prix, en fonction d'une propriété ShowPrice exposée par le ViewModel.
In the grid, we want to be able to show or hide the Price column, based on the value of a ShowPrice property exposed by the ViewModel.
Eh bien tout simplement car le ViewModel garde en "mémoire" ses données, même si l'activité qui l'a appelée est détruite, comme après une rotation par exemple... :) C'est d'ailleurs tout l'intérêt du ViewModel !
Well, simply because the ViewModel stores its data in "memory", even if the activity that called it is destroyed, such as after a rotation...:) That's the whole reason for the ViewModel!
Pas de problème de ce côté là non plus : on peut parfaitement placer le RelayCommand associé au bouton, dans le ViewModel du projet Shared, alors qu'on le référence dans les fichiers XAML des projets spécifiques.
Even if the layout is different, sharing will remain the same. Well, you can put the code for the share command in the ViewModel of the Shared project.