Questions tagged [regionadapter]
11 questions
3
votes
1 answer
Problem with the RegionManager with custom RegionAdapter for DevExpress
I wrote a custom region adapter for a DevExpress ribbon.
public class dxDocumentGroupRegionAdapter : RegionAdapterBase
{
private DocumentGroup _instance;
public dxDocumentGroupRegionAdapter(IRegionBehaviorFactory…
Cr3at0rX
- 199
- 1
- 11
3
votes
1 answer
Silverlight BusyIndicator Content disabling
I'm using the busy indicator from the Silverlight toolkit. I'm binding the IsBusy property to a property in my viewmodel to disable the content and have it display the BusyIndicator. I'm also using Prism's RegionManager's TabControlRegionAdapter to…
jesse
- 31
- 2
3
votes
1 answer
WPF, Prism, MEF. Register region adapter within a module?
Is it possible to register a region adapter within a module?
I have a ContentControl in my Shell.xaml set to region "MainRegion" that currently gets populated with a module containing the AvalonDock control. I currently have the AvalonDock region…
Chris Klepeis
- 9,783
- 16
- 83
- 149
2
votes
3 answers
Prism RegionAdapter - Removing then Adding View
I have a prism/wpf/mef solution that contains an AvalonDock. I created a RegionAdapterBase class that handles creating and removing the Panes from AvalonDock.
Heres the problem I'm running into:
I click a button in my menu and a view is…
Chris Klepeis
- 9,783
- 16
- 83
- 149
2
votes
3 answers
Custome StackPanel Prism RegionAdapter to support Ordering
I have the following implementation of RegionAdapter for a StackPanel but I need strict ordering of items I associate with a region can anyone help?
I want Views that Register themselves to the Region to be able to control there position maybe an…
Madu Alikor
- 2,544
- 4
- 21
- 36
1
vote
1 answer
Dynamically create tab and inject a view in it
I use AvalonDock to have a vs-like docking style, and I use prism to inject views in my application.
Basically the user will have a panel on the side with one button per view loadable, and each time he presses one, I want to create a new tab on my…
Louis Kottmann
- 16,268
- 4
- 64
- 88
0
votes
0 answers
Default Region Adapters not registered by Prism
I am currently upgrading the Prism library of an application, going from version 7.0 to 8.1. We use MEF to extend the application, and the older version of Prism had built-in support for MEF. Going to 8.1 we need do some implementation to adapt…
Sara
- 1
- 1
0
votes
0 answers
Prism RegionAdapter on SfNavigationDrawer
I'm trying to implement a RegionAdapter on the Syncfusion navigation drawer (https://help.syncfusion.com/wpf/navigation-drawer/getting-started).
I saw that it uses a variable (object) ContentView for displaying view so I wrote this :
public class…
Geoffrey Migliacci
- 391
- 5
- 15
0
votes
2 answers
Get the view in an own RegionAdapter when navigatiing wiht PRISM
I am working with PRISM and trying to learn how to use it properly. So far I created 3 views:
MainWindow: This is my Shell Containing 2 Buttons for Navigation: ViewA,ViewB
ViewA
ViewB
The Shell hosts a Region (DockManager from SyncFusion) to…
kain
- 129
- 1
- 7
0
votes
2 answers
Custom region adapter (PRISM)
I have implemented a custom region adapter for a ToolBar as explained in this link http://compositewpf.codeplex.com/discussions/250892. I get this error:'ToolBarRegionAdapter' does not contain a constructor that takes 0 arguments.
Here my…
chincheta73
- 187
- 1
- 22
0
votes
2 answers
Re-navigate to a particular view in multi-view region
I'm working on a WPF application that's utilizing the Microsoft Prism framework. One aspect of the application is a "modal" region that can hold any number of modal windows that overlays over the entire window. As more views are navigated into the…
Nathan Friend
- 12,155
- 10
- 75
- 125