mvvm-light Questions

2

Solved

I'm trying to convert my Windows Phone 8 Silverlight application to an 8.1 Phone app as part of a universal app. I don't know if thats relevant because this is the first time I've tried to implemen...
Snaggy asked 11/5, 2014 at 10:15

2

My UWP app is crashing in Release mode and works fine in Debug mode but I can't put my finger on what the issue is but I know it's related to a combination of raising an event from System.Threading...
Cymry asked 23/4, 2016 at 20:38

1

Solved

As a new in WPF and MVVM light, I am struggling to apply the MVVM pattern in a TabControl. I will give you an example of what I am trying to achieve. TabOne xaml and its view model <UserContr...
Bavaria asked 14/4, 2017 at 10:55

3

Solved

I'm having a problem to pass parameters betweeen my ViewModels using the Messenger class in the MVVMLight Framework. This is the code I'm using : ViewModelLocator public ViewModelLocator () { S...

1

I have a WPF Mvvm-Light application that uses tab controls to display different views to the user. PROBLEM: THe problem I have is that when the program first loads the tab control displays empty....
Ericaericaceous asked 29/9, 2017 at 20:58

3

Solved

Can anyone tell me what the actual syntax is for EventToCommand class. From what I believe is that EventToCommand class works with Silverlight / WPF and WP7, hence I think its a better choice to go...
Guelph asked 3/5, 2011 at 11:12

2

After done with setting up MVVM Light in a Universal Windows App application, I have the following structure, and I wonder what is the cleanest way to do validation in 2017 using UWP and mvvmlight ...
Wenwenceslaus asked 3/2, 2017 at 18:41

4

Solved

I have a UWP project want to reads StorageFolder VideosLibrary and show a list of mp4 files at Views with thumbnail. With MVVM ligth toolkit I have setup this 4 flies with xaml. The Xaml is using ...
Cryptocrystalline asked 12/9, 2017 at 5:40

2

Solved

Let's say I have a couple of interfaces and a class that implements them: public interface ISomething1 { /* blablabla */ } public interface ISomething2 { /* blablabla */ } public class Service : I...
Andalusite asked 2/4, 2015 at 16:39

5

I am using MVVM Light and am using Messages to communicate between ViewModels to let a ViewModel know when it is ok to execute something. My problem is that I register for a message and then it rec...
Shamekashameless asked 13/9, 2010 at 15:55

1

Solved

I am not quite comfortable with the existing MVVMlight navigation interface methods and that is very minimal and I want to implement my very own navigational interface in which I can expose sophist...
Amoebic asked 6/4, 2017 at 0:30

2

I'm getting the error below in DesignTime when I have a view open which has a viewmodel with references to SeriLog. Could not load file or assembly 'Serilog, Version=2.0.0.0, Culture=neutral, P...
Eggbeater asked 12/3, 2017 at 13:28

4

Solved

I'm trying to learn MVVM Light and am looking for a good basic example that shows a model and how to load different views. The template I see after downloading MVVM Light has no models and only o...
Northway asked 3/10, 2010 at 2:59

3

Solved

I have a main ViewModel containing a List of items which I'm using in a certain amount of UserControls, which are displayed in a ContentControl on the main view. My current way of exchanging data b...
Bloodshed asked 4/6, 2013 at 8:29

3

Solved

Can someone give me a quick summary of what a ViewModelLocator is, how it works, and what the pros/cons are for using it compared to DataTemplates? I have tried finding info on Google but there se...
Goodloe asked 28/3, 2011 at 16:24

3

Solved

In the latest release of MVVM Light note, it has been indicated that MVVM Light now provides a "Navigation Service". But myself and my friend google are unable to find how to use it. I can see th...
Garett asked 10/3, 2015 at 14:48

3

We are starting a WPF with MVVM project and have to decide on PRISM or MVVM Light (I am new to both these frameworks). I have read through a few posts but still have a few questions. Can someone pl...
Patrolman asked 10/12, 2013 at 5:58

1

I'm creating a new WPF application with (my first WPF app): .Net 4.0 MVVM Light C# MahApps Metro I've already implemented navigation using the Navigation Service in MVVM Light. I'm using a Mai...
Nevadanevai asked 18/11, 2016 at 17:14

2

What I have Using MVVMLight, I have some service interfaces that are declared in a portable project and the corresponding implementations in a Windows Phone project (WP8.1 SL). To register the imp...
Dareece asked 25/5, 2015 at 21:37

4

I have a ViewModel that needs to show a modal window (using ShowDialog()) on a button click. The ViewModel catches the click command, but I don't want to do window.ShowDialog() within my ViewModel....
Insectarium asked 13/4, 2011 at 4:37

1

Solved

Starting with a blank Universal Windows Application I added Autofac 4.1, Autofac.Extras.CommonServiceLocator 4.0 and MvvmLightLibs 5.3. I then created the following ViewModelLocator class. using A...
Businessman asked 13/9, 2016 at 13:53

3

Solved

Is there documentation or a reference for the MVVM Light framework that let me know what is it capable of? After a lot of googling I've found very few things.
Zymo asked 9/8, 2011 at 18:2

2

Solved

Should be a simple answer, but I'm not seeing it. MVVM Light v5 introduced a NavigationService and DialogService. I wanted to make a sample application to play around with them. The advice seems t...
Careerist asked 19/5, 2015 at 6:3

2

I was just about to start using VS2015 with an existing WPF project including MVVM Light toolkit but found that there is a problem with this regarding the WPF/Xaml designer. The project includes a...
Sears asked 9/9, 2015 at 10:59

2

I saw set of people have the same problem and I tried some it, But I do not know why I still cannot see the design view!! The output type is Windows Application. Design view is working properly i...
Cutout asked 22/2, 2014 at 10:23

© 2022 - 2024 — McMap. All rights reserved.