-
Notifications
You must be signed in to change notification settings - Fork 0
/
Window1.xaml
48 lines (48 loc) · 2.12 KB
/
Window1.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
<Window
x:Class="DockPanelInCode_Ex.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dxcore="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking"
Title="Window1"
Width="640"
Height="300">
<Grid>
<dxdo:DockLayoutManager
Name="dockManager1"
Margin="12"
dxcore:ThemeManager.ThemeName="Office2019Colorful">
<dxdo:LayoutGroup x:Name="rootGroup" Orientation="Horizontal">
<dxdo:LayoutPanel
x:Name="paneOutput"
Caption="Output"
ItemWidth="250">
<RichTextBox />
</dxdo:LayoutPanel>
<dxdo:DocumentGroup x:Name="documentGroup1">
<dxdo:DocumentPanel x:Name="paneDocument1" Caption="Document 1">
<RichTextBox />
</dxdo:DocumentPanel>
</dxdo:DocumentGroup>
</dxdo:LayoutGroup>
<dxdo:DockLayoutManager.FloatGroups>
<dxdo:FloatGroup FloatLocation="100,50" FloatSize="200,150">
<dxdo:LayoutPanel x:Name="paneProperties" Caption="Properties">
<DockPanel>
<Button
Height="40"
Click="Button1_Click"
Content="Dock a panel to a split container"
DockPanel.Dock="Top" />
<Button
Height="40"
Click="Button2_Click"
Content="Dock a panel to a tab container"
DockPanel.Dock="Top" />
</DockPanel>
</dxdo:LayoutPanel>
</dxdo:FloatGroup>
</dxdo:DockLayoutManager.FloatGroups>
</dxdo:DockLayoutManager>
</Grid>
</Window>