This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dxdo:DockLayoutManager x:Name="dockManager" ItemsSource="{Binding Documents}"> | |
<dxdo:DockLayoutManager.Resources> | |
<DataTemplate x:Key="layoutPanelTemplate"> | |
<dxdo:LayoutPanel> | |
<dxdo:LayoutPanel.Style> | |
<Style TargetType="{x:Type dxdo:LayoutPanel}"> | |
<Setter Property="Caption" Value="{Binding Caption}" /> | |
</Style> | |
</dxdo:LayoutPanel.Style> | |
<dxdo:LayoutPanel.ContentTemplate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dxdo:DockLayoutManager x:Name="dockManager" ItemsSource="{Binding Documents}"> | |
<dxdo:LayoutGroup x:Name="documentHost" > | |
<dxdo:LayoutGroup.ItemContentTemplateSelector> | |
<dxi:TypeTemplateSelector FindDescendants="True"> | |
<dxi:TemplatesDictionary> | |
<DataTemplate x:Key="FlightListViewModel"> | |
<view:FlightListView /> | |
</DataTemplate> | |
</dxi:TemplatesDictionary> | |
</dxi:TypeTemplateSelector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DevExpress.Xpf.Docking; | |
using Prism.Regions; | |
namespace APS.RegionAdapters | |
{ | |
/// <summary> | |
/// The region adapter for the DockLayoutManager. | |
/// </summary> | |
public class DockingManagerRegionAdapter : RegionAdapterBase<DockLayoutManager> | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using APS.Infrastructure.MVVM; | |
using APS.Infrastructure.ViewBase; | |
using APS.Views; | |
using DevExpress.Xpf.Docking; | |
using Prism.Regions; | |
using Prism.Regions.Behaviors; | |
using System; | |
using System.Collections.Specialized; | |
using System.Linq; | |
using System.Windows; |