Questions tagged as 'mvvm'

0
answers

WPF and the MVVM standard, doubts

I'm studying C # and am having to develop a WPF application with the default MVVM. A question I have about this pattern is in relation to events, I have read in some places that it is not recommended to use events and also that we can not access...
asked by 19.06.2018 / 18:05
0
answers

Transfer information from one View to Another

Good afternoon! I've come across a doubt, I'm developing a xamarin forms shared project, using MVVM standard, in a particular View Model1 linked to View1, when doing a search and existing the value in the local bank, View Model1 Calls View2. So...
asked by 10.11.2017 / 18:09
0
answers

Windows Phone does not execute request in API

Well, I have the following modules in my project: Concerts.Console Concerts.Mobile Concerts.Core Concerts.Models Concerts.WebClient Concerts.Tests Basically it is as follows: The Concerts.Core module uses the Concerts.WebClie...
asked by 08.10.2015 / 18:54
2
answers

Synchronize items in comboboxes at run time

I've tried for some time to figure out how to synchronize one combobox with another. I am wanting to sync comboboxes at runtime. When the user selects a category in the combobox, depending on their choice, the combobox subcategory will display t...
asked by 17.11.2015 / 23:22
1
answer

Why use MVVM in a WPF + EF + C # application

I've researched a number of forums and articles, and everyone says that the MVVM standard should be used when working with a project with EF + WPF. Can anyone tell me why this is so? because I want to implement a system but I do not know what...
asked by 31.03.2017 / 03:00
1
answer

Retrieve Text and Value from Select with KENDO MVVM

I need help from vcs, anyone who has knowledge on KnockoutJS I have something like this: var viewModelPessoa = kendo.observable({ Contatos: [], FormContato: { TipoContato: -1, //Aqui vai o indice/value do select/optio...
asked by 27.03.2014 / 16:07
0
answers

MVVMLight Event to Command using Model for the Command Parameter

I've been trying to use MVVMLight's Event to Command to link my ViewModel's commands to events such as TextChanged's TextBox, for example. But Event to Command automatically assumes that the Command Parameter is the Event Args of TextChanged. I...
asked by 07.11.2018 / 13:52
1
answer

Set the ItemsSource of a ComboBox within an ItemTemplate

Hello, I have a ComboBox inside the ItemTemplate of a ListBox, the items in this ListBox are defined from an ObservableCollection in the ViewModel, and each item in that list is an object with a list ( List ). of options inside that should be sho...
asked by 29.04.2015 / 16:27
1
answer

Help with an MVVM view

I'm reading the this tutorial on MVVM. But I do not understand the following: <Window x:Class = "MVVMDemo.MainWindow" xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x = "http://schemas.microsoft.com/winfx/...
asked by 06.12.2016 / 11:52
1
answer

MVVM and Binding for different classes

If in the Model View ViewModel pattern I have:    MainPageModel.cs    MainPageViewModel.cs    MainPage.cs    MainPage.xaml    MainPage.cs is also part of my View layer? If so, is it that I should delegate responsibili...
asked by 17.08.2016 / 21:39