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
0 answers

Auto wire a ViewModel inside a folder

I am using Prism unity as dependency injector in my WPF project. My ViewModels are located in a folder. Can you tell me if there is a way to autowire these ViewModels to my view ? Thanks in Advance
Naveed Khan
  • 73
  • 2
  • 15
0
votes
1 answer

Prism 6.0 with WPF without dependency injection?

I am developing a very small application in WPF and I decided to use the Prism 6.0 framework after not being satisfied with Caliburn.Micro and MVVM Light Toolkit. I want to be able to use regions in my application but I don't want to use Unity and…
Kyle V.
  • 4,752
  • 9
  • 47
  • 81
0
votes
0 answers

Prism to update Viewmodel from Model

I think I ask my question incorrectly and have some bad code because of it. What I want to do is have more of a Model-Controller(?)-ViewModel-View where I in the controller I can have code that is used in multiple ViewModels so I don't have to write…
coolercargo
  • 247
  • 2
  • 13
0
votes
1 answer

Why does a Unity registration break Prism's ability to find my module?

In my subclass of UnityBootstrapper I register a type in the class's ConfigureContainer() method. For this question the interface type and implementation class are irrelevant; they exist and can be resolved. What is relevant is that the interface…
Kit
  • 20,354
  • 4
  • 60
  • 103
0
votes
1 answer

textblock not updating when property changed in model

My textblock is not being updated update the value from my Model. If I update the textblock in the ViewModel it works so my bindings seem to be correct. I believe the problem is the way I update it in the Model but I am not sure why also my…
coolercargo
  • 247
  • 2
  • 13
0
votes
1 answer

PRISM missing region for DevExpress NavBarGroup

I have a really strange problem with PRISM 6 and NavBarControl / NavBarGroup. I have the following in my Shell.xaml
Matteo
  • 232
  • 3
  • 17
0
votes
2 answers

TimeTrigger not firing in Single-Process UWP Scenario

I've been banging my head against the monitor for the last few days. I'm developing an UWP app for the Windows Store (targeting 14393) and I'm using Prism/Unity frameworks for MVVM / IoC. Since the data needed to update the Live Tile is stored in a…
MicheleM
  • 1
  • 4
0
votes
1 answer

Prism ObservesProperty inside an ObservableCollection

How can I trigger if the items in the PersonList has changed using ObservesProperty? public ICommand Save { get { return _save ?? (_save = new DelegateCommand(saveData,calculate).ObservesProperty(()=> PersonList)); …
Alex Palacio
  • 3
  • 1
  • 3
0
votes
0 answers

Wpf Prism 6.2 Unity MVVM guidance needed

I used to work on WPF prism 4 with unity. And now coming back to the topic, a lot of things seem have changed. I have already downloaded the sample project "ModularityWithUnity.Desktop" from https://github.com/PrismLibrary/Prism-Samples-Wpf Which…
Winter Winter
  • 173
  • 2
  • 11
0
votes
0 answers

Changed load behavior in WPF app after upgrading PRISM from 4 to 6.1?

(This is a version of a question that I posted earlier ( deleted post ). That question got deleted because I have been away for a month and unable to respond to comments. I would like to thank the users @StepUp and @Brian Lagunas for the comments…
GHauan
  • 189
  • 1
  • 13
0
votes
1 answer

How to disable a button with Prism 6 and Behavior SDK

In my main page, i have a listview of all the items, and once user clicks on one of them, it will navigate to a detail page. In the detail page, i create a last button to jump to last item,
0
votes
1 answer

Prism 6 Custom Interaction InvalidOperationException in PresentationFramework

I have implemented a TaskPane for Word 2016 using Prism 6. From that Taskpane I need to show a modal window, an so I implemented prism custom interaction. The Window ist started from a button bound to a delegate command. At the first Click…
Josef B.
  • 414
  • 4
  • 9
0
votes
1 answer

Is Prism AutoWireViewModel compatible with MEF?

I am trying to combine AutoWireViewModel with MefBootstrapper to navigate between Views in various Modules. However I get an exception: Set property 'Prism.Mvvm.ViewModelLocator.AutoWireViewModel' threw an exception The exception points to this…
keeg
  • 3,990
  • 8
  • 49
  • 97
0
votes
1 answer

Region and Region Manager concept in UWP

For UWP development ,Prism 6 provides two assemblies Prism.Unity.Windows.dll and Prism.Windows.dll but they would not support Region and Region Manager concept in WPF version of Prism . As part of UWP App design ,we should identify pages and…
S Vasudev
  • 23
  • 10
0
votes
1 answer

pageState and viewModelState is null on Page Navigation in UWP

I am using Prism 6 with UWP. I have a button in MainPage.xaml which redirect to DashboardPage.xaml. In DashboardPage, I am saving the view state in DashboardPage.xaml.cs : protected override void SaveState(Dictionary pageState) …
Yeasin Abedin
  • 2,081
  • 4
  • 23
  • 41
1 2 3
9
10