-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainWindow.xaml
80 lines (79 loc) · 4.85 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<dx:ThemedWindow x:Class="DXDocumentUIServiceSample.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking"
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
xmlns:dxwui="http://schemas.devexpress.com/winfx/2008/xaml/windowsui"
xmlns:dxwuin="http://schemas.devexpress.com/winfx/2008/xaml/windowsui/navigation"
xmlns:View="clr-namespace:DXDocumentUIServiceSample.View"
Title="DocumentUIServices" ShowIcon="False"
Width="1415" Height="620">
<Grid>
<dxdo:DockLayoutManager>
<dxdo:LayoutGroup>
<dxdo:TabbedGroup>
<dxdo:LayoutPanel Caption="WindowedDocumentUIService">
<View:MainView>
<dxmvvm:Interaction.Behaviors>
<dx:WindowedDocumentUIService>
<dx:WindowedDocumentUIService.WindowStyle>
<Style TargetType="dx:ThemedWindow">
<Setter Property="Width" Value="800" />
<Setter Property="Height" Value="490" />
<Setter Property="ShowIcon" Value="False" />
</Style>
</dx:WindowedDocumentUIService.WindowStyle>
</dx:WindowedDocumentUIService>
</dxmvvm:Interaction.Behaviors>
</View:MainView>
</dxdo:LayoutPanel>
<dxdo:LayoutPanel Caption="TabbedDocumentUIService">
<dxdo:DockLayoutManager>
<dxdo:LayoutGroup Orientation="Horizontal">
<dxdo:LayoutPanel Caption="Users">
<View:MainView>
<dxmvvm:Interaction.Behaviors>
<dxdo:TabbedDocumentUIService DocumentGroup="{Binding ElementName=documentGroup}" />
</dxmvvm:Interaction.Behaviors>
</View:MainView>
</dxdo:LayoutPanel>
<dxdo:DocumentGroup x:Name="documentGroup"
Caption="Documents"
ItemHeight="*" />
</dxdo:LayoutGroup>
</dxdo:DockLayoutManager>
</dxdo:LayoutPanel>
<dxdo:LayoutPanel Caption="DockingDocumentUIService">
<dxdo:DockLayoutManager>
<dxdo:LayoutGroup Orientation="Horizontal">
<dxdo:LayoutPanel Caption="Users">
<View:MainView>
<dxmvvm:Interaction.Behaviors>
<dxdo:DockingDocumentUIService LayoutGroup="{Binding ElementName=layoutGroup}" />
</dxmvvm:Interaction.Behaviors>
</View:MainView>
</dxdo:LayoutPanel>
<dxdo:LayoutGroup x:Name="layoutGroup"
Caption="Panels"
DestroyOnClosingChildren="False"
ItemHeight="*" />
</dxdo:LayoutGroup>
</dxdo:DockLayoutManager>
</dxdo:LayoutPanel>
<dxdo:LayoutPanel Caption="FrameDocumentUIService">
<dxwui:NavigationFrame AnimationType="SlideHorizontal">
<dxwui:NavigationFrame.Source>
<View:MainView>
<dxmvvm:Interaction.Behaviors>
<dxwuin:FrameDocumentUIService />
</dxmvvm:Interaction.Behaviors>
</View:MainView>
</dxwui:NavigationFrame.Source>
</dxwui:NavigationFrame>
</dxdo:LayoutPanel>
</dxdo:TabbedGroup>
</dxdo:LayoutGroup>
</dxdo:DockLayoutManager>
</Grid>
</dx:ThemedWindow>