This repository has been archived by the owner on Oct 16, 2023. It is now read-only.
/
Window1.xaml
51 lines (49 loc) · 3.13 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
49
50
51
<Window x:Class="CreateAutoHiddenPanels.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="300" Width="640" xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking" xmlns:dxcore="http://schemas.devexpress.com/winfx/2008/xaml/core">
<Grid>
<dxdo:DockLayoutManager Margin="12" Name="dockManager1" dxcore:ThemeManager.ThemeName="Office2007Blue">
<dxdo:LayoutGroup x:Name="rootGroup" Orientation="Horizontal">
<dxdo:DocumentGroup x:Name="documentGroup1">
<dxdo:DocumentPanel x:Name="paneDocument1" Caption="Document 1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Button Content="Show" Grid.Row="0" Height="23" HorizontalAlignment="Left" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
<Button Content="Hide" Grid.Row="1" Height="23" HorizontalAlignment="Left" Name="button2" VerticalAlignment="Top" Width="75" Click="button2_Click " />
<Button Content="ShowState" Grid.Row="2" Height="23" HorizontalAlignment="Left" Name="button3" VerticalAlignment="Top" Width="75" Click="button3_Click" />
</Grid>
</dxdo:DocumentPanel>
</dxdo:DocumentGroup>
</dxdo:LayoutGroup>
<!--region #1-->
<dxdo:DockLayoutManager.AutoHideGroups>
<!--Create one AutoHideGroup on the right-->
<dxdo:AutoHideGroup x:Name="auotHideGroup" DockType="Right">
<dxdo:LayoutPanel x:Name="paneProperties" Caption="Properties" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
<dxdo:LayoutPanel x:Name="paneMessages" Caption="Messages" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
</dxdo:AutoHideGroup>
<!--Create two AutoHideGroups on the left-->
<dxdo:AutoHideGroup DockType="Left">
<dxdo:LayoutPanel x:Name="paneErrors" Caption="Errors" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
<dxdo:LayoutPanel x:Name="paneWarnings" Caption="Warnings" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
</dxdo:AutoHideGroup>
<dxdo:AutoHideGroup DockType="Left">
<dxdo:LayoutPanel x:Name="paneFindResults" Caption="Find Results" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
</dxdo:AutoHideGroup>
</dxdo:DockLayoutManager.AutoHideGroups>
<!--endregion #1-->
</dxdo:DockLayoutManager>
</Grid>
</Window>