No announcements
Found 1432384 threads
-
5 Votes
ViewModel for each entity or row of data?
It is rare we have a situation where we just display data and don't allow a user to modify a row.Answered | 4 Replies | 3984 Views | Created by pretzelb - Friday, December 9, 2011 10:51 PM | Last reply by Jie Bao - Wednesday, December 14, 2011 6:18 AM -
0 Votes
ViewModel Not Updating Data
>So my question is, How would I get the updated values from the ViewModel or do I send the Model itself?Answered | 3 Replies | 757 Views | Created by Quentin.Samuelson - Monday, January 25, 2016 6:13 AM | Last reply by Andy ONeill - Thursday, January 28, 2016 9:29 AM -
4 Votes
Tombstoning a ViewModel
private ToDoDataContext toDoDB; // Class constructor, create the data context object.Answered | 12 Replies | 914 Views | Created by Marco_Enxuto - Tuesday, December 30, 2014 11:38 PM | Last reply by Marco_Enxuto - Sunday, January 4, 2015 1:06 AM -
0 Votes
How to get data from another viewmodel
If you just want to share the data then put a reference to it in application.current.resources.Answered | 3 Replies | 2482 Views | Created by 海獅 - Monday, May 30, 2016 10:13 AM | Last reply by Andy ONeill - Tuesday, May 31, 2016 1:43 PM -
1 Votes
accessing observable collection defined in one viewmodel from another viewmodel
According to your scenario you should use one DataModel shared between several viewModels.Answered | 2 Replies | 6363 Views | Created by parag medsinge - Tuesday, January 25, 2011 10:58 AM | Last reply by Jie Bao - Wednesday, January 26, 2011 7:44 AM -
7 Votes
What should the ViewModel control?
My personal rule-of-thumb is, if the data is non-trivial (e.g, product colour), put it in the ViewModel; if it is ...Answered | 16 Replies | 5420 Views | Created by Min Chew - Monday, November 8, 2010 3:26 AM | Last reply by Min Chew - Monday, November 15, 2010 4:03 AM -
1 Votes
One ViewModel multiple views of the same data.
I would use a viewmodel locator for this.Answered | 2 Replies | 5239 Views | Created by Quentin.Samuelson - Tuesday, August 18, 2015 3:21 AM | Last reply by Andy ONeill - Wednesday, August 19, 2015 6:59 AM -
4 Votes
Implementing a ViewModel for the First time
Ok, so my next question pertains to my actual ViewModel.Answered | 6 Replies | 1269 Views | Created by Tyler Hughes - Sunday, February 24, 2013 11:29 PM | Last reply by KP_SES - Monday, February 25, 2013 1:49 PM -
5 Votes
singleton viewmodel
But should we lock the ViewModel for adopting the best practice?Answered | 6 Replies | 1957 Views | Created by chromeFor - Friday, June 21, 2013 7:05 AM | Last reply by chromeFor - Friday, June 21, 2013 1:04 PM -
0 Votes
passing values between viewmodels
One option would be to create a DependencyProperty on the child ViewModel.Answered | 3 Replies | 8328 Views | Created by steve-areeno - Thursday, June 3, 2010 3:28 PM | Last reply by steve-areeno - Friday, June 4, 2010 8:02 PM -
0 Votes
When to create a ViewModel in WPF
{ public string Name{get;set;} } // the viewmodel here represents what the MembersListView // need as data and services involved in its functionality ...Answered | 3 Replies | 620 Views | Created by Dikong42 - Monday, August 27, 2018 4:14 AM | Last reply by Cherry Bu - Tuesday, August 28, 2018 5:21 AM -
0 Votes
AOP and ViewModel clash
: public void Test() { AopProxy realProxy = new AopProxy(typeof(ViewModel)); var proxy = realProxy.GetTransparentProxy(); ...Answered | 2 Replies | 779 Views | Created by HeroHua0509 - Wednesday, April 6, 2016 8:50 AM | Last reply by Magnus (MM8) - Wednesday, April 6, 2016 7:09 PM -
0 Votes
Animating a viewmodel property?
Hi ikriv, I performed a test with your scenario, and verified that we can animate a dependency property which lies in the ViewModel.Answered | 1 Replies | 10572 Views | Created by ikriv - Friday, August 28, 2009 6:40 PM | Last reply by Bruce.Zhou - Tuesday, September 8, 2009 8:06 AM -
0 Votes
Progress Bar [ViewModel]
Simply, check this post: http://stackoverflow.com/questions/11057969/how-to-use-progressbar-in-an-async-webclient-call-from-a-viewmodelAnswered | 1 Replies | 889 Views | Created by Nitin007Bhosle - Saturday, June 8, 2013 6:21 AM | Last reply by bgener - Saturday, June 8, 2013 9:08 PM -
0 Votes
TwoWay Data Binding from ViewModel to UserControl
The problem is that, when you use your UserControl, you're not setting the data context appropriately, so the binding fails.Answered | 3 Replies | 4938 Views | Created by davidbitton - Tuesday, October 27, 2009 9:44 PM | Last reply by davidbitton - Wednesday, October 28, 2009 1:49 PM -
4 Votes
Model View ViewModel question
I assume that with 'model' you refer to some kind of domain model or other data structure that is updated outside the control of your user interface.Answered | 4 Replies | 4941 Views | Created by Johan20D - Saturday, October 23, 2010 10:29 AM | Last reply by Johan20D - Saturday, October 23, 2010 2:37 PM -
0 Votes
Data inserted and System.NullReferenceException error message on ViewModel class
Hi Fabio, I am not familiar with Azure programming, so I try replacing GetAllAcessosAsync method to use local data.Answered | 5 Replies | 983 Views | Created by Fabio Botelho - Tuesday, February 24, 2015 5:29 AM | Last reply by Herro wong - Sunday, March 1, 2015 5:03 AM -
0 Votes
ViewModel binding and submit changes
Hi, I select data using LINQ and wrap the entity with a ViewModel.Answered | 1 Replies | 922 Views | Created by websocialist - Friday, December 28, 2012 11:50 AM | Last reply by franantares - Friday, December 28, 2012 12:25 PM -
0 Votes
ViewModel First with nested ViewModels and nested Views
Hi jbanderson, I've used view first, viewmodel first and all sorts of variations I prefer view first.Answered | 2 Replies | 5348 Views | Created by jbanderson - Wednesday, December 9, 2015 4:04 AM | Last reply by Andy ONeill - Friday, December 11, 2015 10:25 AM -
2 Votes
Supplying viewmodel to view constructed with container
I can create the viewmodel first and load it with the data I want, but I still end up not seeing how to get that loaded viewmodel into my view.Answered | 8 Replies | 4069 Views | Created by pretzelb - Thursday, August 4, 2011 9:36 PM | Last reply by pretzelb - Tuesday, August 9, 2011 3:07 PM - Items 1 to 20 of 1432384 Next ›
No announcements