mvvm
Difference between this.Dispatcher.BeginInvoke() and Deployment.Current.Dispatcher.BeginInvoke() methods in Silverlight
I know Dispatcher.BeginInvoke() is used to execute some 开发者_如何学JAVApiece of code in the UI thread.Recently I noticed that there is another way to get the Dispatcher instance by using \'Deploymen[详细]
2023-04-08 06:55 分类:问答Is exposing my DTO to the view considered incorrect?
This question has been round my head the last weeks or months, and I don\'t really know what\'s the best solution.[详细]
2023-04-08 06:46 分类:问答Binding Command inside DataGridTemplateColumn
I have View(XAML included) attached to my ViewModel with开发者_开发问答 commands. I need to invoke command when Button on DataGrid\'s row clicked. I\'m using behaviors for this (regular commanding hav[详细]
2023-04-08 05:21 分类:问答How do I move to the next song using a MVVM mediaelement
I\'m learning C#/WPF/MVVM by building a simple media player. I am using ICollectionView in the MainViewModel for the playlist. I built a separate usercontrol for the mediaelement with some code-behind[详细]
2023-04-08 04:49 分类:问答How should I pass collections from one view's ViewModel to another View?
can anyone please advise a solution in following scenario : I have an MVVM application in which I need to show modal window from Main window to add some value to the Collection that is in viewModel c[详细]
2023-04-08 03:45 分类:问答How do I handle binding to an entity that doesn't exist?
I\'m trying to understand how binding works between the view model and page controls when on a \'New Item\' page. For example:[详细]
2023-04-08 03:45 分类:问答Observablecollection<T> in Listbox is not updating
I have a Silverlight Listbox bound to Observablecollection which shows up fine (first time) but when I try to update it through the code behind, the change does not reflect in UI. I have used MVVM pat[详细]
2023-04-08 02:46 分类:问答Using ViewModel as WPF DataContext Disposing problems
Just starting out using WPF / MVVM and have a question regarding using a viewmodel as the datacontext for a wpf window.[详细]
2023-04-08 01:10 分类:问答Treeview vs nested Expanders
Edit 2 : This is what i want to do with only 1 treeview : my treeview with outlook style http://img204.imageshack.us/img204/8218/sansreju.jpg[详细]
2023-04-08 00:44 分类:问答Controlling Windows in WPF when using MVVM pattern
A little while ago, I wrote this SO post looking for a good way to handle UI and business layer interaction, and I liked the answer which was to use the MVVM pattern.[详细]
2023-04-08 00:34 分类:问答