prism Questions

3

Solved

I have an observable collection in the view model that implements Bindable Base as follows Please have a look at the MoveUp and MoveDown methods where they are bound to two buttons in the view. Whe...
Fonsie asked 14/11, 2014 at 1:31

3

Solved

While setting up my Prism WPF solution I had added a project as Class library. Just realized I want it as a WPF user control library to add resource dictionaries and other WPF related stuff. Is the...
Neona asked 27/7, 2011 at 20:29

11

Solved

I have a simple WPF application which I am trying to start. I am following the Microsoft Patterns and Practices "Composite Application Guidance for WPF". I've followed their instructions however my...
Xanthophyll asked 12/9, 2008 at 7:6

5

Solved

I have a TabControl in an MVVM WPF application. It is defined as follows. <TabControl Style="{StaticResource PortfolioSelectionTabControl}" SelectedItem="{Binding SelectedParameterTab}" > &...
Radium asked 8/11, 2013 at 10:49

2

Solved

The window of app do not have boarder, so there is no exit button on the right conner?How can I close it in right way? This is my way, fisrt bind a command to custom exit button. <Button Conte...
Jalousie asked 6/5, 2013 at 10:36

4

Solved

I know that i can get all the registered views in a region with : var vs = mRegionManager.Regions[RegionNames.MainRegionStatic].Views.ToList(); and i can see there is the following code : mRegi...
Hairstyle asked 15/6, 2011 at 13:56

3

Solved

I've come across something called Prism a lot recently. Microsoft, who run the project, describe it as Guidelines for composite applications in WPF and Silverlight. Even after reading the mo...
Maguire asked 8/6, 2011 at 1:34

3

A custom WPF Control overrides OnRender. The method generates and displays a Path from custom data. The data provider is bound using a Dependency Property. The Dependency Property registers for an ...
Noted asked 10/6, 2013 at 10:46

2

Solved

I've got a Prism application with DryIoc as container. I'd like IHttpClientFactory to provide HttpClients to my typed clients, which are like this: public class ExampleService : IExampleService {...
Marrowbone asked 5/2, 2020 at 14:42

2

We have Unity+Prism WPF applications, and there is 2 folders from which we want to load dynamically the modules. I know that to load modules from a directory, I should use a DirectoryModuleCatalog...
Publicity asked 23/2, 2018 at 10:33

2

Solved

I have a command (or a piece of code) which I want to run when a specific entry loses its focus. I'm using MVVM so I want to do it using the binding way instead of writing code in my Form.xaml.cs....
Ferdinandferdinanda asked 30/1, 2019 at 7:0

3

In a WPF project(with prism) we are using Unity as DI framework. Recently, after we merged two big branches, we were not able to start our application, we were having StackOverflowException. Due t...
Freespoken asked 31/3, 2016 at 11:36

1

I am using a custom DialogService, the problem I have is that I first show a page as a modal and when sending to display the DialogPage it is apparently not shown but it really is behind the model ...
Dace asked 2/12, 2019 at 14:47

2

I have been working on a mobile application for one week, for personal education and enhancement. I have some experience with WPF and MVVM, I have no experience with mobile development. The idea i...
Cephalad asked 12/5, 2019 at 23:38

4

Solved

I'm trying to run PRISM (MEF) example project, but get this error: Managed Debugging Assistant 'BindingFailure' has detected a problem in 'Prism4MefDemo.vshost.exe'. Additional information: ...
Pouliot asked 10/3, 2014 at 15:22

7

I want to link async method to a delegate command in prism framework in Xamarin.Forms and my question is how to do it? Is below solution correct? Is there exist any pitfall? (deadlock, UI slow or ...
Dogmatics asked 2/4, 2017 at 10:34

3

Solved

How can I open/close a new window in WPF without violating rules of the MVVM pattern? I just want to mimic the login module of ms office outlook. I've already read this article, but there are an e...
Arium asked 7/12, 2015 at 3:30

7

Solved

I'm using Prism V2 with a DirectoryModuleCatalog and I need the modules to be initialized in a certain order. The desired order is specified with an attribute on each IModule implementation. This ...
Septennial asked 18/8, 2009 at 21:32

1

Solved

I am trying to register a service for DI in Prism 7. I find that all of the following methods work, which is the correct way to do it? What is the case for each? public class AndroidInitializer :...
Glorianna asked 4/4, 2020 at 2:59

2

I stripped down my application as much as possible to find this problem. Still it appears: 11-12 15:56:27.908 I/MonoDroid(17629): System.NullReferenceException: Object reference not set to an inst...
Impenitent asked 12/11, 2016 at 19:9

2

Solved

What I would like to do is unsubscribe from events at the moment the ViewModel is no longer needed. I tried implementing IDisposable but nobody calls Dispose(), not Xamarin.Forms nor Prism.Forms. ...
Todo asked 24/8, 2016 at 15:7

2

Solved

Adding EF Core to a NET Standard project introduces transitive dependency versions incompatible with NuGet packages in other projects I have a solution with multiple .NET Standard 2.0 projects. O...

3

Solved

Currently I bind to my TextBoxes as: Text="{Binding DocValue, Mode=TwoWay, ValidatesOnDataErrors=True, UpdateSourceTrigger=PropertyChanged}" This works great in getting every keystroke to do ...
Johanajohanan asked 18/3, 2013 at 22:19

3

Solved

Update: The focus became MVVM instead of the actual question so I'm updating it. I'm having a problem with CanExecute for DelegateCommand. It doesn't update before I call RaiseCanExecuteChanged, i...
Asymmetric asked 8/9, 2011 at 15:46

2

Can you use Xamarin Forms 4.0 new Shell with Prism? I'm looking for examples or some documentation
Euchre asked 27/6, 2019 at 13:41

© 2022 - 2025 — McMap. All rights reserved.