No announcements
-
0 VotesWelcome to the Patterns Forum
Welcome to the MVVM/ViewModel Pattern forum. While the title focuses on one major pattern, all related (Repository, IOC etc.) and alternative patterns (MVP, MVC etc.) are in-scope ...
-
1 VotesGet selected check box value which are inside list box using MVVM
I hav a checkbox inside listbox. XAML: <ListBox x:Name="Product" ItemsSource="{Binding Product,Mode=TwoWay}" ...Answered | 5 Replies | 9687 Views | Created by Ketan Mhetre - Monday, March 28, 2011 3:01 AM | Last reply by Rohit Nayar - Monday, January 29, 2018 8:50 AM -
1 VotesCould not load file or assembly 'Microsoft.Practices.ServiceLocation
Hi All , I am one of the fan of Prism Design Pattern and follow the Videos by Mike Taulty , John papa .I am trying to develop the code very ...Answered | 2 Replies | 25262 Views | Created by Debashish Gupta - Friday, August 26, 2011 2:34 AM | Last reply by jalvarezberon - Monday, August 28, 2017 3:46 AM -
1 VotesDefine xaml style to get rid gradient effect
I have a button; and I want to add a background color to the button via ViewModel. There is a method working in xaml or code behind. But I tried to use binding in ViewModel and ...Answered | 15 Replies | 1236 Views | Created by HZ.USA - Monday, April 10, 2017 8:38 PM | Last reply by HZ.USA - Wednesday, April 26, 2017 3:19 PM -
0 VotesHow would you design business logic interaction with Viewmodel in mvvm
What are the ways where a viewmodel can get business logic. Lets say, I have 3 Models and based those 3 models data I will produce(basically calculation) some new values(lets say model 4) ...Proposed | 1 Replies | 1607 Views | Created by nellis2 - Saturday, March 18, 2017 8:39 PM | Last reply by Yong Lu - Tuesday, March 21, 2017 6:10 AM -
1 VotesMVVM - Pass parameter to viewmodel constructor and async loading
Hi All, I am new to MVVM pattern. I want to pass parameter to viewmodel constructor and load data using ria services based on the parameter. How do I achieve ...Answered | 12 Replies | 29795 Views | Created by Arunkumar.B - Thursday, May 5, 2011 2:02 AM | Last reply by talk2lal - Saturday, February 18, 2017 8:06 PM -
0 VotesWhere should I Subscribe to Calculate Total Property in my ViewModel
Hello, I have two view models (PlanningAreaDimensionDetailsViewModel and PlanningTemplateViewModel). Please see code below... In the PlanningTemplateViewModel I ...Proposed | 1 Replies | 1005 Views | Created by AlmirMulahasanovic - Wednesday, November 16, 2016 5:27 PM | Last reply by Yong Lu - Thursday, November 17, 2016 6:06 AM -
0 VotesGlobal BusyIndicator for parent View and child Views
In one web page. I have the parent View to show the upper content. The child View or Views show the rest of content. The best way is to combine all Views together into one View then using only one ...Proposed | 1 Replies | 1173 Views | Created by ardmore - Tuesday, October 25, 2016 7:42 PM | Last reply by Weiwei Cai - Wednesday, October 26, 2016 5:40 AM -
0 VotesUnclear on how view's datacontext gets set to viewmodel
Hi, I've noticed that a view's datacontext gets set to the viewmodel as follows. public partial class EmployeeListView : UserControl ...Answered | 4 Replies | 4939 Views | Created by nkartheek - Friday, November 26, 2010 1:10 AM | Last reply by Richard.Haggard - Monday, August 15, 2016 12:17 AM -
0 VotesHelp needed on error message: invocation of the constructor threw an exception
Hi all, In my project I get the following error message: "The invocation of the constructor on type 'PersoonBanner.PersoonBannerViewModel' that ...Answered | 2 Replies | 3192 Views | Created by WayPoint7 - Saturday, July 23, 2011 2:38 PM | Last reply by Arun Patnaik - Tuesday, August 2, 2016 11:23 AM -
0 VotesHow to get data from another viewmodel
hi all, if there is a List<string>(Students) in Viewmodel A and some buttons(Teach Chinese/English...) in Viewmodel ...Answered | 3 Replies | 1369 Views | Created by 海獅 - Monday, May 30, 2016 10:13 AM | Last reply by Andy ONeill - Tuesday, May 31, 2016 1:43 PM -
0 VotesMemory leak when using commands
Dear Sirs, Is there any fix for the memory leak when using commands in Silverlight 5? If Not How should we handle this problem, any work around? Do you have a VB.Net and C# Example ...Answered | 5 Replies | 2080 Views | Created by compudoc Aruba - Tuesday, March 29, 2016 9:25 PM | Last reply by compudoc Aruba - Saturday, April 2, 2016 4:13 PM -
0 VotesHow To restrict a user to select only ItemSource Values from AutoCompleteBox
Hi Team, I am unable to restric the end user to select the value which is not in ItemSource (or List) MY requirment is user has to select a value from ...Unanswered | 5 Replies | 2209 Views | Created by Ramesh Raja - Thursday, November 27, 2014 6:28 AM | Last reply by Shafiq Abbas - Thursday, February 11, 2016 2:23 PM -
0 VotesViewModel First with nested ViewModels and nested Views
I am new to using MVVM and am trying to find a reasonably elegant approach using a ViewModel First strategy while creating an interface of nested Views. I have taken a brute force stab at making ...Answered | 2 Replies | 3001 Views | Created by jbanderson - Wednesday, December 9, 2015 4:04 AM | Last reply by Andy ONeill - Friday, December 11, 2015 10:25 AM -
0 VotesCustomEvents in MVVMLight
Is it possible to bind custom events to the command using "EventToCommand" (MVVMLight framework)? Has any one tried it? It is not working for me. I am ...Answered | 14 Replies | 24161 Views | Created by Nits84 - Thursday, November 18, 2010 4:50 PM | Last reply by Andregsilv - Tuesday, December 8, 2015 2:10 PM -
0 VotesSilverlight Slider control MouseLeftButtonDown event is not triggered.
Hi. I need to use Slider control with MouseLeftButtonDown and MouseLeftButtonUp events in my view model. Here is my xaml code: <Slider ...Answered | 2 Replies | 1929 Views | Created by Blast4620 - Monday, October 5, 2015 2:03 PM | Last reply by Andy ONeill - Tuesday, October 6, 2015 9:52 AM -
1 Voteshide data grid template column when its empty
Hi below is my datagrid code of which I want to hide my Tempalte column when it null or empty. <sdk:DataGrid ...Answered | 4 Replies | 4357 Views | Created by ayaantara - Friday, September 11, 2015 7:22 PM | Last reply by ayaantara - Monday, September 21, 2015 5:17 PM -
1 Voteshide datagrid cell value -Template column
Using the code below <slData:DataGrid x:Name="Customer" ItemsSource="{Binding ReturnedItemAttributes}" AutoGenerateColumns="False" ...Answered | 11 Replies | 4221 Views | Created by ayaantara - Thursday, September 3, 2015 5:38 PM | Last reply by ayaantara - Thursday, September 10, 2015 4:34 PM -
0 VotesBindingList not firing PropertyChangedCallBack on DependecyProperty
I have the followin property in my VM. private BindingList<DateTime> diasAgendados = new ...Answered | 1 Replies | 1725 Views | Created by venom_aa - Wednesday, September 2, 2015 12:34 AM | Last reply by Andy ONeill - Wednesday, September 2, 2015 8:54 AM -
2 VotesMVVM save object state
I have been reading up on MVVM and I have seen plenty of examples. However, what I am seem to be missing is how and/or where to put the function that saves and/or modifies the object externally ...Answered | 3 Replies | 1939 Views | Created by Bob F Johnston - Friday, August 28, 2015 6:39 PM | Last reply by Andy ONeill - Saturday, August 29, 2015 7:57 AM -
0 VotesMVVMLight popup window
Register message in mainpage. Messenger.Default.Register<string>(this, "MainWindow", o => { var d = new ...Answered | 2 Replies | 2195 Views | Created by LucusSyhone - Thursday, July 16, 2015 2:00 PM | Last reply by Weiwei Cai - Friday, July 17, 2015 2:38 AM - Items 1 to 20 of 1264 Next ›
No announcements
