No announcements
Found 3123752 threads
-
0 Votes
Calling other forms from the ViewModel
You could consider encapsulating the logic of displaying the splash screen and the other windows in a Bootstrapper class.Answered | 2 Replies | 437 Views | Created by JBHowl - Wednesday, April 27, 2016 3:11 PM | Last reply by Magnus (MM8) - Wednesday, April 27, 2016 7:37 PM -
2 Votes
Open a windows form from ViewModel
Is there a way to pass the UI element from control to ViewModel?Answered | 2 Replies | 2945 Views | Created by ANREV107 - Thursday, October 8, 2015 12:15 PM | Last reply by Magnus (MM8) - Thursday, October 8, 2015 3:52 PM -
0 Votes
Calling form method from other class in the form
= null) { form1.ListBox1.Items.Add("add " + "__"); } You want to expose any fields that ...Answered | 2 Replies | 1839 Views | Created by Omar.Alnayme - Friday, March 4, 2016 7:39 PM | Last reply by Magnus (MM8) - Saturday, March 5, 2016 12:46 PM -
0 Votes
How to call a function from one viewmodel to another viewmodel
You need to either get a reference to the second view model from the first one or you could use some kind of messenger or event aggregator to pass a message from ...Answered | 1 Replies | 3854 Views | Created by Jeevan Vinay - Wednesday, March 18, 2015 1:48 PM | Last reply by Magnus (MM8) - Wednesday, March 18, 2015 2:54 PM -
0 Votes
How call to MainForm object from other forms?
Please let me know if I understand your problem correctly, You want to access the object of your main form from any of its child form right ?Answered | 1 Replies | 1041 Views | Created by Borneqa - Wednesday, March 19, 2014 7:39 AM | Last reply by Rohan W - Wednesday, March 19, 2014 8:19 AM -
0 Votes
ViewModel Constructor get called twice
That solution solved my Header Binding Problem but it has created the new one Calling VM Twice .Answered | 4 Replies | 3371 Views | Created by Shivam_bhardwaj - Friday, July 25, 2014 7:16 AM | Last reply by Shivam_bhardwaj - Monday, August 4, 2014 4:00 AM -
4 Votes
Dynamically add rows and columns to grid from viewmodel
I was able to acheive my objective by passing in the Grid control using a property and then forcing an update through a bit of trickery, namely, calling a method of the ViewModel ...Answered | 2 Replies | 9277 Views | Created by D A M - Thursday, September 20, 2012 3:00 PM | Last reply by D A M - Tuesday, September 25, 2012 3:20 PM -
1 Votes
how to refresh the data in one form on calling the methods from other form
You can try to raise the event when you call method from other form and add an event handler in the first form.Answered | 1 Replies | 870 Views | Created by sravanis - Monday, March 11, 2013 12:50 PM | Last reply by Chester Hong - Wednesday, March 13, 2013 8:54 AM -
0 Votes
How to call method that is present in viewmodel from App Resuming event in App.xaml.cs?
I tried var viewModel = Application.Answered | 4 Replies | 2530 Views | Created by Saikrupakar - Thursday, September 12, 2013 1:13 PM | Last reply by Oleg Kurzov - Tuesday, September 17, 2013 7:23 AM -
1 Votes
Calling a form from another form
I have many doubts... one of them is: I have one main form(form1) from which i call another form(form2) which is used as a Question box. depending on the ...Answered | 5 Replies | 3321 Views | Created by SoumyaSudhakar - Thursday, September 24, 2009 5:11 AM | Last reply by SoumyaSudhakar - Tuesday, September 29, 2009 5:47 AM -
0 Votes
How to call a method of loaded viewmodel in another view
>If I call ViewModel1 Obj = new ViewModel1(); ---> User Entered values are going off as viewmodel1 is called as new.Answered | 2 Replies | 2979 Views | Created by Bharani Reddy - Monday, November 30, 2015 6:22 AM | Last reply by Magnus (MM8) - Monday, November 30, 2015 3:14 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 | 6501 Views | Created by parag medsinge - Tuesday, January 25, 2011 10:58 AM | Last reply by Jie Bao - Wednesday, January 26, 2011 7:44 AM -
3 Votes
Split View from ViewModel & Model with WPF application
The viewmodel is instantiated and maybe the constructor calls it's async getdata method.Answered | 11 Replies | 1691 Views | Created by Langalia VIpul - Wednesday, December 16, 2015 5:55 AM | Last reply by Andy ONeill - Friday, December 25, 2015 10:27 AM -
3 Votes
MVVM - open some windows from ViewModel
Than you can resolve the interface from the UnityContainer (ofcourse after registering it in a class that know both interface and the class that implements it), and use ...Answered | 6 Replies | 8311 Views | Created by rgr123 - Tuesday, July 17, 2012 6:52 PM | Last reply by michaelgr123 - Thursday, July 19, 2012 2:17 PM -
0 Votes
Calling a form from within a form
You need to make the second form modal by setting WindowType to 1.Answered | 1 Replies | 3821 Views | Created by DrProgram - Monday, May 24, 2010 8:07 PM | Last reply by Tamar E. Granor - Monday, May 24, 2010 8:53 PM -
0 Votes
Binding property from User Control ViewModel
So if you wanted to bind from a usercontrol to the parent window you need to know the type of that.Answered | 3 Replies | 4133 Views | Created by DanBarc - Wednesday, May 27, 2015 7:03 AM | Last reply by Andy ONeill - Wednesday, May 27, 2015 3:37 PM -
1 Votes
Call method in another viewmodel without creating a new instance
Using this approach the view models will remain decoupled from each other.Answered | 2 Replies | 6633 Views | Created by Quentin Samuelson - Thursday, August 20, 2015 1:52 PM | Last reply by Magnus (MM8) - Thursday, August 20, 2015 2:48 PM -
0 Votes
How to update TWO tables with one form and one ViewModel Properly?
How do you update/edit several tables/domain models with one form using one viewmodel properly?Answered | 1 Replies | 457 Views | Created by TheOnlyRealTodd - Friday, August 12, 2016 10:03 AM | Last reply by Zhanglong Wu - Monday, August 15, 2016 4:33 AM -
6 Votes
Access form objects from other forms.
Other data to be accessed by the new form can be accessed from properties in the original form if a reference to the original form is ...Answered | 6 Replies | 524 Views | Created by BB2017 - Friday, April 7, 2017 7:22 PM | Last reply by Cherry Bu - Thursday, April 20, 2017 7:03 AM -
0 Votes
How i can call other project form ?
I can call the form now.Answered | 6 Replies | 2954 Views | Created by yanyee - Thursday, March 12, 2009 2:33 AM | Last reply by lesPaul456 - Thursday, March 12, 2009 1:25 PM - Items 1 to 20 of 3123752 Next ›
No announcements