Created
May 13, 2019 13:06
-
-
Save leemean/977740681c423576b02ea12835fbf905 to your computer and use it in GitHub Desktop.
DevExpressDockingMVVM
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> | |
</dxdo:LayoutGroup.ItemContentTemplateSelector> | |
<dxdo:LayoutGroup.ItemStyle> | |
<Style TargetType="dxdo:LayoutPanel"> | |
<Setter Property="Caption" Value="{Binding Caption}" /> | |
<Setter Property="MinWidth" Value="300" /> | |
<Setter Property="MinHeight" Value="200" /> | |
<Setter Property="CloseCommand" Value="{Binding CloseCommand}" /> | |
<Setter Property="IsActive" Value="{Binding IsActive, Mode=TwoWay}" /> | |
</Style> | |
</dxdo:LayoutGroup.ItemStyle> | |
</dxdo:LayoutGroup> | |
</dxdo:DockLayoutManager> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment