Skip to main content
0 votes
0 answers
34 views

I am using MVVM light (GalaSoft.MvvmLight) in my WPF application. My View <base:BaseWindow x:Class="Hub.Kiosk.View.WindowLogin" xmlns="http://schemas.microsoft.com/winfx/...
abhi's user avatar
  • 62
2 votes
1 answer
298 views

Historically in WPF when using MVVM (typically done with MVVMLight) I use the approach where I bind a control to something in its view-model. To wit: XAML: xmlns:vm="clr-namespace:My.Namespace....
noonand's user avatar
  • 2,925
0 votes
3 answers
59 views

I am updating a project using MVVM Light. In the UserEditView, there is a list of users. Select one user, and the user data comes up in a StackPanel where it is editable. To make things easier, the ...
Göran Roseen's user avatar
3 votes
0 answers
217 views

I am attempting to migrate a Xamarin native (Xamarin.iOS and Xamarin.Android) solution from MVVMLight to CommunityToolkit.Mvvm. I have pored over documentation on this topic here. The docs state that ...
Sasha Borodin's user avatar
1 vote
1 answer
197 views

Good day, I am new to C# and WPF. Currently, I am trying to create a Todo list, but I am having problems with the CanExecuteAddTodoCommand() for my RelayCommand. I used MVVMlight for this and Material ...
exemplary_cassette 's user avatar
0 votes
0 answers
71 views

I have the following datagird in my WPF and I can open a new CustomerOperationView from OperationView with EventTrigger as you see. However, I want to open CustomerOperationView with a parameter for ...
Eymen Efe Altun's user avatar
0 votes
1 answer
66 views

So basically I'm trying to subscribe to the Navigated event on the WebBrowser control so I can get the source of the WebBrowser, but I have no idea how to subscribe to it from the ViewModel I have ...
MrCoolAndroid's user avatar
-1 votes
2 answers
164 views

So I am developing a two-screen application using wpf with mvvm light. I want to mirror them as much as possible. However, I run into problem with the showdialog for windows. Because ShowDialog will ...
kjaydenle's user avatar
0 votes
2 answers
183 views

In a user control I have context menu for data grid like shown below <DataGrid.ContextMenu> <ContextMenu Focusable="False"> <menuItems:ExportMenuItemView ...
Anoopchandra's user avatar
0 votes
1 answer
133 views

I have a UWP custom control that have a method and I want to call this method in some ViewModel (I use CommunityToolkit.Mvvm framework in our project), after many searches I found similar solution in ...
sorosh_sabz's user avatar
  • 3,053
1 vote
1 answer
296 views

I just need some Help translating from C# to VB.Net in this Case. I try to learn about MVVM and WPF. I need to communicate between multiple Views. An easy way should be via MvvmLight Messaging. ...
CarMaster4451's user avatar
0 votes
1 answer
68 views

I was trying to update data through Textbox when click on the button the AccessViolationException throws out at random everytime I click on the button to execute some funtions Not just that,while ...
Bruno Wang's user avatar
1 vote
1 answer
340 views

I am working on upgrading MVVMLight to Windows Community Toolkit and facing issues with DispatcherHelper. I am unable to find any examples which can show me how to upgrade the functionality relating ...
Anil C's user avatar
  • 1,085
1 vote
2 answers
2k views

Trying to migrate from good old MVVM Light to Windows Community Toolkit. How are we supposed to override a registered service, i.e. replace it with another implementation at runtime? Example I have ...
dotNET's user avatar
  • 35.7k
0 votes
1 answer
158 views

public static async Task SetRequestedThemeAsync() { foreach (var view in CoreApplication.Views) { await view.Dispatcher.RunAsync(CoreDispatcherPriority....
Denis Derkach's user avatar

15 30 50 per page
1
2 3 4 5
191