Quantcast
Channel: patterns & practices: Prism
Browsing all 1878 articles
Browse latest View live

New Post: Prism: One View with multiple View Models

I'm glad you find this useful, on the other hand, handling the user selection in theShellWindow's view model and publishing this option through the EventAggregator seems like a reasonable approach to...

View Article


New Post: prism: problems with dynamically adding tabitems

i use the following code in a controller class to add tabitems (which will contain viewSubsystemDetailsView)dynamically in the main region in response to some event:privat void...

View Article


New Post: prism: problems with dynamically adding tabitems

Hi,I am not aware of the implementations of your views / view models or the requirements of your scenario, but I made some small modifications to the code snippet you posted above. Please let us know...

View Article

New Post: Newly built version of Prism throws a version error.

that did it Damian! Thanks very much, it was a huge help! Harold

View Article

New Post: prism: problems with dynamically adding tabitems

Hi DCherubini,thanks for your help.my VM is imported into View in the code behind like this:      publicISubsystemDetailsViewModelVM get { return DataContext asISubsystemDetailsViewModel; } {get{return...

View Article


New Post: Shared Service for Resources

Hi List,i'm working on an Shared Service to have all of my resources in the Shell-Project and access them with a Shared Service.What i'm found so far ist: <ResourceDictionary.MergedDictionaries>...

View Article

New Post: Shared Service for Resources

Hi Peter,In my opinion if you have several resources that need to be loaded from one assembly, I believe you could consider having a resource dictionary in that assembly that usesMergedDictionaries to...

View Article

New Post: Prism: View Discovery+Regions

how to use Controller class to use View Discovery (using MEF) + Regions to display View in a new tap in in a Tap Region. The View Model for the displayed View is imported in Code behind and the View...

View Article


New Post: Prism: Error declaring region inside a tab

Hi I am having a strange problem; In my application I have a shell with a region "MainView", that holds a mainview; Inside the mainview, I have a 2 tabs, each of them has its own region (with different...

View Article


New Post: Error declaring region inside a tab

Hi I am having a strange problem; In my application I have a shell with a region "MainView", that holds a mainview; Inside the mainview, I have a 2 tabs, each of them has its own region (with different...

View Article

New Post: prism: problems with dynamically adding tabitems

Hi,Based on the code snippets mentioned above, I believe that the exception you mentioned could be caused if thenewView instance is not being correctly resolved from the container by theServiceLocator...

View Article

New Post: Prism: View Discovery+Regions

Hi,Since we are already treating the subject you're mentioning in this thread, it would be helpful if we could continue the discussion there.Regards,Agustin Adami http://blogs.southworks.net/aadami

View Article

New Post: prism: problems with dynamically adding tabitems

Hi Agustin Adami,i implemented the fixations you mentioned and the code is now working but still problems exist:1-when i replace SubsystemDetailsViewModel with ISubsystemDetailsViewModel i get this...

View Article


New Post: Prism: Error declaring region inside a tab

Hi Ady,So far we have not been able to find the exact cause behind this error, but according the stack trace the exceptions seem to be related to a problem when creating a "Measure.Options" region....

View Article

New Post: prism: problems with dynamically adding tabitems

Hi,It would be helpful if you could provide us with a repro-sample application portraying the behavior you are mentioning so that it could be easier for us to analyze your scenario an help you find the...

View Article


New Post: prism: problems with dynamically adding tabitems

Hi,it is LOB application using Sql Server Database through Repository and Service layer.the scenario is: i have a control panel reside in Navigation Region of ShellWindow. it containes list of systems...

View Article

New Post: Prism: Error declaring region inside a tab

Thanks Damian I don't understand why this exception raise when I add this <ContentControl rgn:RegionManager.RegionName="Test123" /> to a XAML that is not connected at all. Something went wrong...

View Article


New Post: prism: problems with dynamically adding tabitems

Hi,As a starting point, regarding the problem to show the corresponding Tab Header, I believe you could check the bindings used inside theDataTemplate, like the TextBlock that defines the header name,...

View Article

New Post: prism: problems with dynamically adding tabitems

Hi,1-Thanks Adami it is another problem solved, the problem of showing HeaderInfo in the Tab Header.2-For the tabs duplication problem: i found when inserting Breakpoint @ open { of the following block...

View Article

New Post: Shared Service for Resources

Hi,that's exactly what i'm looking forPeter 

View Article
Browsing all 1878 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>