Most voted "mvvm" questions
Design standard that aims to establish a clear separation of responsibilities and make a WPF/Silverlight application easier to maintain. Known as the MVP specialisation.
Learn more…55 questions
Sort by count of
-
67
votes2
answers18428
viewsWhat is MVP and MVVM?
It is very common to talk about the MVC (Model-View-Controller) standard. But the acronyms MVP (Model-View-Presenter) and MVVM (Model-View-View-Model) are very poorly cited. What they are and what…
-
35
votes3
answers1710
viewsWhat is the role of architecture standards in object orientation?
This question seems to have an obvious answer, but I confess that I still don’t get the idea myself. I am working with object orientation since 2011, mainly focused on web development. As soon as I…
-
9
votes1
answer1585
viewsWhat is the difference between Knockoutjs and Angularjs/Emberjs?
What’s the difference between Knockoutjs and Angularjs/Emberjs? What I’ve been researching: Apparently Knockoutjs has a much smaller learning curve, can be integrated into existing static sites and…
-
7
votes1
answer87
viewsUse of predicate and lambda expression
I am studying WPF and the MVVM model by the following article : https://msdn.microsoft.com/en-us/magazine/dd419663.aspx In the implementation of the Icommand interface, the author defines the…
-
6
votes1
answer1880
viewsMVC versus MVVM
I cannot differentiate between both MVC or MVVM. What really differentiates the MVC from the MVVM? In job interviews, sometimes they ask you exactly that, how do you differentiate one from the…
-
5
votes1
answer699
viewsHow does MVVM actually work?
How does MVVM actually work? What are the responsibilities of Viewmodel and Model? I’m implementing a standard project MVVM some time ago, but now some questions have arisen about the. Where to…
-
4
votes1
answer356
viewsMVVM, Should I use Icommand on all controls?
Part of the MVVM is the use of commands through the interface ICommand. The question is, should I use commands on all controls? Even those that are not connected with the business rule? For example,…
-
4
votes1
answer402
viewsUpdating a collection object’s values via Binding WPF, MVVM
Following MVVM model, I am not able to update the values of a variable of an object in a collection, show them on the screen or the user type and this value be passed to the variable. In my case, I…
-
4
votes1
answer172
views -
3
votes1
answer164
viewsWhere to make the connection to the database?
In the MVVM pattern where I must connect to the database, in View, Model or Viewmodel?
-
3
votes1
answer449
viewsWPF Combobox - How to fill in using MVVM
I’m having doubts about how popular a WPF Combobox using the MVVM standard. Here at Stackoverflow there is a similar question to mine, however, has not been answered (I would like a brief…
-
3
votes2
answers3254
viewsAngular.js, is it MVC, MVVM or MVP?
I know that in angular projects has model, view and controller but many say that angular.js is MVVM and others say it is MVP
-
3
votes1
answer148
viewsViewmodel’s communication: return data to previous screen
I have a screen A that has a text field and a button, that screen button A, opens a second screen B. That screen B has another text field to fill and save, when the person click save the screen…
-
3
votes1
answer165
viewsIn MVVM can a Viewmodel know more than one model?
In the MVVM architecture, a viewmodel can "meet" several viewmodels. What about the VM-M relationship? A viewmodel can "meet" several models different? Ex: CreditCardViewModel --> Model…
-
3
votes2
answers802
viewsCommand button does not work within Listview Xamarin Forms MVVM
I’m trying to create a button with the event Command within a Listview on MVVM, but is not falling in the event ViewModel. How do I get this button Command access your method on ViewModel ? And…
-
3
votes2
answers582
viewsNavigation with Xamarin Forms standard MVVM
I recently started studying Xamarin Forms. I have a question that can be clarified here: how to navigate between pages using MVVM? Navigation should be on vm or in the view? Example <?xml…
-
3
votes1
answer182
viewsJavafx: pros and cons of MVC, MVP, MVVM, etc
Which Model-View (MV) standard to use with Javafx thinking of scalability and good maintainability? On Google you find people recommending MVC, MVP, MVVM... maybe there are others. Some say that…
-
2
votes1
answer179
viewsAssembly structure in a project using the Pattern MVVM
I’m having trouble organizing the Solution of a project using the MVVM. I don’t use any MVVM framework. I currently have the following structure: Solution | --- AppView (Projeto principal onde estão…
-
2
votes1
answer277
viewsI would like a brief explanation of how to fill a combobox in MVVM standard
I would like a brief explanation of how to fill a MVVM standard combobox. The three parts, Model, View and Viewmodel filled with the table of the Database. Model: class Racas :…
-
2
votes0
answers15
viewsWindows Phone does not request an API
Well, I have the following modules in my project: Concerts.Console Concerts.Mobile Concerts.Core Concerts.Models Concerts.Webclient Concerts Tests. Basically it’s the following: The module…
-
2
votes1
answer132
viewsWhy is it not recommended to use the C# project event with WPF and MVVM?
I am too young for WPF I am doing a project using MVVM and Entity Framework and it has been suggested not to have any event Click to a button in the code behind a window, for what reason? What is…
-
2
votes0
answers62
viewsTransfer Information from One View to Another
Good afternoon! I came across a question, I am developing a project Xamarin Forms Shared, using MVVM standard, in a certain View Model1 linked to View1, when performing a search and existing the…
-
2
votes1
answer361
viewsWPF using MVVM - Whose responsibility is it to open a new window?
In MVVM we have Views, Viewmodels and Models. All the business logic of my application is in models, where I use the viewModels to manage them, in addition to Binds and commands that are sent from…
-
2
votes1
answer287
viewsSet Top Bar Burger Menu
I made an app with a Login screen to a Mainview that is a Masterdetail and a Detail. It is working correctly but the top screen is larger than normal, as per image; as I set it to be the correct…
-
2
votes3
answers258
viewsIs there a way to dynamically add attribute to instantiated object in C#?
Well, in C# we put attributes as follows: [Required("Este campo é obrigatório")] public string Nome {get; set;} What I would like to know is whether there is a way to add attributes dynamically to…
-
2
votes0
answers54
viewsWPF and MVVM Standard, doubts
I’m studying C# and I’m having to develop a WPF application with the MVVM standard. One question I have about this pattern is in relation to events, I have read in some places that it is not…
-
1
votes1
answer119
viewsRecover Text and Value from Select with KENDO MVVM
I need the help of you, who have knowledge in KnockoutJS I have something like that: var viewModelPessoa = kendo.observable({ Contatos: [], FormContato: { TipoContato: -1, //Aqui vai o indice/value…
-
1
votes1
answer88
viewsSet the Itemssource of a Combobox within an Itemtemplate
Hello, I have a Combobox inside the Itemtemplate of a Listbox, the items in that Listbox are defined from an Observablecollection in Viewmodel, and each item in that list is an object with a…
-
1
votes1
answer335
viewsWhy use MVVM in a WPF + EF + C#
I searched several forums and articles and all say that the MVVM standard should be used when working with an EF + WPF project. Can anyone tell me why that is? because I want to implement a system…
-
1
votes2
answers473
viewsSync items in comboboxes at runtime
I’ve been trying to figure out how to synchronize a combobox with another one for some time. I’m looking to synchronize comboboxes at runtime. When the user selects a category in the combobox,…
-
1
votes0
answers29
viewsMvvmlight Event to Command using Model for Command Parameter
I’ve been trying to use Mvvmlight’s Event to Command to link my Viewmodel commands to events like Textchanged from Textbox, for example. But Event to Command automatically assumes that the Command…
-
1
votes1
answer30
viewsChange foreground color in XAML Binding (not working)
I have a text that color should alternate according to the method check below: public Color VerificaAlarmes { get => ChecarLimites? AlarmColors: Color.Gold; } public Color AlarmColors { get { if…
-
1
votes0
answers23
viewsBy inserting data generated in Behind code through the model without having to DISPLAY in the view, is it possible?
Look I’ll start by saying that I know what I’m trying to do is break a taboo of the MVVM standard, but it is not possible that there is no other way to do this, it is common to have q create new…
-
0
votes1
answer92
viewsKendo MVVM - Viewmodel inside Another
Is it possible to bind one Viewmodel within another? If yes, how? I need to create a context more or less like this: <div data-bind="visible: ViewModel_1.isVisible" /> //.... <div…
-
0
votes1
answer36
viewsReference Xamarin PCL with external PCL’s
Ola personal arose a doubt recently I did a project in wpf using mvvm pattern in which Fis layered. Now I want to rewrite the same project with Xamarin, and reuse the same pattern, only I came…
-
0
votes1
answer23
viewsView notification does not work with mvvmhelper
I’m using James Montemagno’s mvvmhelper to develop my app and using the same structure that he teaches to use. I mean with a Baseviewmodel and when I navigate between the pages everything works…
-
0
votes1
answer701
viewsWhat is the function of this Mainwindow file?
According to the project below: http://www.macoratti.net/11/06/pp_mvvm1.htm I know that the purpose of the Main function is to be the main function but in the example presented above the Mainwindow…
-
0
votes1
answer97
viewsDialog messages launched from Viewmodel through Dialogcoordinator
I came across a problem working on a WPF project where I use "MVVM Light Toolkit" and "Mahapps.Metro". I am trying to take advantage of the "Dialogcoordinator" feature provided by "Mahapps.Metro" to…
-
0
votes1
answer51
viewsUse the same disk for 2 Vms in Azure
I am with 2 Vms (Ubuntu 15.10) and a load Speaker at port 80 to balance and distribute access to them. In these Vms I will use a Wordpress application, but I would like to know how I share a disk…
-
0
votes1
answer59
viewsHow to create a Listview with delete action
Hello, I would like to know how to create a listview in which you have the option to remove that item from the list. I am working with MVVM
-
0
votes1
answer24
viewsIs it possible to have a 'Partialview' in WPF?
I was wondering if it is possible to implement the concept of partialview in a WPF View. Something like a system of tabs, which changes the content of the grid but does not alter the layout of the…
-
0
votes0
answers119
viewsKnockoutjs shoot event after every modification in UI or model
Hello, as you would intercept changes in the UI or model that were made sensitizing the knockout? Using the subscribeI know there was a change in a property, but what if I had 100 models, with 10…
-
0
votes1
answer144
viewsMVVM and Binding for different classes
If in the Viewmodel Model View pattern I have: Mainpagemodel.Cs Mainpageviewmodel.Cs Mainpage.Cs Mainpage.xaml MainPage.cs is also part of my layer View? If so, it is to her that I must delegate the…
-
0
votes1
answer144
viewsDoes Angular use the MVVM?
I have some doubts about the design of framework Angular The framework actually uses MVVM in full or only a few principles? Component is entirely a Viewmodel?…
-
0
votes1
answer22
viewsCan or cannot Notifypropertychanged exist in the public properties of a Model?
Hi, I’m creating an App with the MVVM standard but some related issues I’m not able to clarify on the subject, I’ll leave the App link here If anyone wants to see to point out some possible mistake…
-
0
votes1
answer218
viewsConnection String not found WPF Entity Framework
I am in a WPF project using some MVVM practices, I am using Entity Framework database first and the Connection string is already in the app.config, I have already followed all the procedures I have…
-
0
votes1
answer63
viewsHelp with a MVVM view
I’m reading the that MVVM tutorial. But I’m not understanding the following: <Window x:Class = "MVVMDemo.MainWindow" xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x =…
-
0
votes1
answer148
viewsRefresh in a View from a Viewmodel
Team, I have a question. I am developing a detail screen of an order, where there is a button used to take this order. To make it clearer, this detail screen behaves in different ways to different…
-
0
votes0
answers99
viewsProblem updating object properties with data Binding
I’m trying to update the properties of an object every time a character is added/removed from the textboxes but I’m not getting... I read several topics about databinding and everything seems to be…
-
0
votes0
answers117
viewsProject with MVVM architecture
I’m having some doubts regarding the MVVM architecture. I am developing a project that has the following characteristics: - Main form with dynamic content - Main form generates some tabs according…