Questions tagged [prism-6]

Prism 6 is a fully open source version of the Prism guidance originally produced by Microsoft patterns & practices. The core team members were all part of the p&p team that developed Prism 1 through 5, and the effort has now been turned over to the open source community to keep it alive and thriving to support the .NET community.

Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Windows 10 UWP, and Xamarin Forms. Separate releases are available for each platform and those will be developed on independent timelines. Prism provides an implementation of a collection of design patterns that are helpful in writing well-structured and maintainable XAML applications, including MVVM, dependency injection, commands, EventAggregator, and others. Prism's core functionality is a shared code base in a Portable Class Library targeting these platforms. Those things that need to be platform specific are implemented in the respective libraries for the target platform. Prism also provides great integration of these patterns with the target platform. For example, Prism for UWP and Xamarin Forms allows you to use an abstraction for navigation that is unit testable, but that layers on top of the platform concepts and APIs for navigation so that you can fully leverage what the platform itself has to offer, but done in the MVVM way.

Prism 6 is a fully open source version of the Prism guidance originally produced by Microsoft patterns & practices. The core team members were all part of the p&p team that developed Prism 1 through 5, and the effort has now been turned over to the open source community to keep it alive and thriving to support the .NET community.

148 questions
0
votes
1 answer

How to register views automatically in Xamarin.Forms with Prism

In Xamarin.Forms with Prism and Unity, is there a way to register all the views that are subject to navigation without specifying them explicitly? The sample project provided by Prism, has a function RegisterTypes in the App.xaml.cs that has the…
Frank
  • 767
  • 5
  • 17
0
votes
2 answers

Binding a SolidColorBrush in a Prism application

I am building an application using Prism 6, but I am new to MVVM, data binding and all these design patterns. In the application, I have a requirement to display different colours depending on the value of some of the properties of my view model.…
Alexis Le Compte
  • 337
  • 1
  • 3
  • 13
0
votes
2 answers

WPF Prism Module Initialization

I have a Prism Shell with two modules. One module is supposed to be the main application mock, MainAppMock, and the other module is supposed to be whatever that main system is using as a region, ModuleOne. Could be one, could be a million…
AzzamAziz
  • 2,144
  • 1
  • 24
  • 34
0
votes
1 answer

wpf prism 6 refresh view after culture change

Shell has 2 regions : menu and main MenuModule has MenuView that fills menu region WelcomModule has WelcomeView that fills main region WelcomeView uses DynamicResource for label content MenuModule handles culture change : change culture change…
Yvain
  • 882
  • 1
  • 10
  • 27
0
votes
0 answers

Loading user modules after login

The application has Login page, which is authenticated by the back-end server. Then the application can request for the user's role. Based on the role, the application need to load the modules for the user. Logout will close the application…
teenboy
  • 368
  • 2
  • 12
-1
votes
1 answer

How do I set the icon property in Prism for a TabbedPage in Prism for Xamarin Forms?

I'm extending the prism sample here to also include icons, and some additional navigation. My goal is to add something like the code below (where the icon information is) and am unsure how to add that to either my view, or the view model correctly.…
TLDR
  • 1,198
  • 1
  • 12
  • 31
-1
votes
1 answer

Implement ctrl+shift+MouseOver on a button in mvvm

I am trying to implement ctrl+shift+mouseover on a button in wpf, mvvm. I am doing something like:
mukul nagpal
  • 93
  • 1
  • 12
-1
votes
1 answer

WPF&prism MVVM and Tabitem with an image

I have a wpf application with a tab control showing images instead of text on the tabitem. Now I want to rewrite the whole thing and use prism. I found an example but there is only a text property bound to the tabitem. How can I display an image…
-1
votes
1 answer

How could I detect that all module are loaded by Prism v6?

I have a WPF Desktop App using RadDocking(Telerik Wpf Control) and Prism.Unity v6.1.1 , The Goal is that I would like to load the layout of the Docking when all module are loaded. How could I detect that all module are loaded WITHOUT ovverride…
-1
votes
1 answer

NullReferenceException at PropertyChanged Event (Prism 6.3)

I'm using Prism 6.3 to build a simple cloud client with seafile. After the user logs in, I navigate to a sidebar in a side region (SidebarRegion). OnNavigatedTo are the libraries loaded in a collection and displayed. When the selected library…
user5856424
-1
votes
1 answer

Prism NotificationRequest vs Xceed MessageBox

When we use MVVM we are told to avoid using System.Windows.MessageBox in our ViewModel, and I guess it is because it would not be good for our tests. Is it true? With Prism NotificationRequest, we can comunicate with our users, but it is a little…
Carlos
  • 1,638
  • 5
  • 21
  • 39
-1
votes
1 answer

Need sample app using wpf, prism 6, Unity and implements a module

All samples found either address earlier version of prism or don't currently work. I am using Visual Studio 2015. I am specifically looking for an example of using ViewmodelLocator.AutoWireViewModel
clef
  • 7
  • 1
-2
votes
3 answers

Should these members be in a model? and if so, how?

I'm new to WPF and Prism, so, I'm trying to figure very basic things out at the moment. My little experiment looks like this when running: I have a Views\Registration.xaml that looks like this:
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
1 2 3
9
10