This repository has been archived by the owner on Oct 16, 2023. It is now read-only.
/
MainWindow.xaml
34 lines (32 loc) · 1.77 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
<Window xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking" x:Class="Example.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Example"
Title="MainWindow" Height="350" Width="525">
<Grid>
<dxdo:DockLayoutManager>
<dxdo:LayoutGroup>
<dxdo:DocumentGroup MDIStyle="MDI">
<dxdo:DocumentPanel Caption="Document" MinWidth="150" MinHeight="50">
<Grid>
<CheckBox IsChecked="{Binding Path=(local:ModalHelper.IsModal),
RelativeSource={RelativeSource AncestorType=dxdo:DocumentPanel}}"/>
</Grid>
</dxdo:DocumentPanel>
<dxdo:DocumentPanel Caption="Document" MDILocation="150,150" MinWidth="150" MinHeight="50">
<Grid>
<CheckBox IsChecked="{Binding Path=(local:ModalHelper.IsModal),
RelativeSource={RelativeSource AncestorType=dxdo:DocumentPanel}}"/>
</Grid>
</dxdo:DocumentPanel>
<dxdo:DocumentPanel Caption="Document" MDILocation="350,0" MinWidth="150" MinHeight="50">
<Grid>
<CheckBox IsChecked="{Binding Path=(local:ModalHelper.IsModal),
RelativeSource={RelativeSource AncestorType=dxdo:DocumentPanel}}"/>
</Grid>
</dxdo:DocumentPanel>
</dxdo:DocumentGroup>
</dxdo:LayoutGroup>
</dxdo:DockLayoutManager>
</Grid>
</Window>