delegatecommand Questions
6
Solved
In my View, I have a button.
When the user clicks this button, I want to have the ViewModel save the context of the TextBlock in the database.
<StackPanel HorizontalAlignment="Left" VerticalAl...
Introvert asked 28/5, 2009 at 10:21
4
Solved
Is it possible to fire a command to notify the window is loaded.
Also, I'm not using any MVVM frameworks (Frameworks in the sense, Caliburn, Onxy, MVVM Toolkit etc.,)
Bombast asked 4/8, 2010 at 17:25
5
Solved
I have a customized UIPickerview and I do not want to use a datepicker. I want to implement the feature where when a user scrolls down/up the hours, the AM/PM component switches while the hour is s...
Stoddart asked 2/10, 2011 at 9:40
3
Solved
I am new to Unit Testing MVVM and using PRISM on my project. I am implementing Unit Testing on our current project and not having luck finding resources online that would tell me how totest Delegat...
Lateen asked 31/3, 2013 at 7:53
1
Solved
Thanks in advance!
How should I use ObservesCanExecute in the DelegateCommand of PRISM 6?
public partial class UserAccountsViewModel: INotifyPropertyChanged
{
public DelegateCommand InsertComman...
Umpteen asked 14/12, 2015 at 12:20
3
Solved
I have a template for treeView item:
<HierarchicalDataTemplate x:Key="RatesTemplate">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=ID}"/>
<Button C...
Tadich asked 17/11, 2009 at 13:15
3
I just finished desktop apps written in WPF and c# using MVVM pattern. In this app I used Delegate Command implementation to wrap the ICommands properties exposed in my ModelView. The problem is th...
Gastrin asked 15/6, 2010 at 10:48
1
Solved
I'm trying to get the value of two Texboxes (I'm simulating a login window) when I press a button. The command assigned in the button fires correctly, but I don't know how to get the value of the t...
Technology asked 1/7, 2013 at 16:11
4
Solved
I am trying to work out an example from ".NET Domain Driven Design with C#", which contains a code example where you can see declared some attributes of type DelegateCommand.
Now, I've tr...
Cincture asked 20/7, 2010 at 7:5
6
Solved
If you're doing MVVM and using commands, you'll often see ICommand properties on the ViewModel that are backed by private RelayCommand or DelegateCommand fields, like this example from the original...
Festal asked 24/6, 2010 at 17:3
4
I'm really scratching my head with this one. I have a mainwindow which opens a dialog. After the dialog closes, the CanExecute method on commands bound in the dialog are still executing. This is ca...
Pendant asked 4/11, 2010 at 8:50
2
Solved
I'm just learning about MVVM in WPF, I'm completely new both to WPF as to MVVM (I understand how it works, but have never used it...)
Every single tutorial/article I find on the web, it uses eithe...
Emmott asked 13/9, 2011 at 13:43
3
The Model-View-ViewModel (MVVM) approach seem to be the front-runner pattern in WPF UI development. Almost every article I read implies that it is the best-practice. Usage of RelayCommand or ...
Plover asked 24/6, 2011 at 14:19
1
© 2022 - 2024 — McMap. All rights reserved.