Skip to content

Instantly share code, notes, and snippets.

@AzureKitsune
Created November 2, 2012 00:14
Show Gist options
  • Save AzureKitsune/3997785 to your computer and use it in GitHub Desktop.
Save AzureKitsune/3997785 to your computer and use it in GitHub Desktop.
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dock="clr-namespace:AvalonDock;assembly=AvalonDock"
xmlns:edit="clr-namespace:ICSharpCode.AvalonEdit;assembly=ICSharpCode.AvalonEdit"
Title="Open Studio UI Concept" Height="453" Width="728">
<Window.Resources>
<ResourceDictionary Source="/AvalonDock.Themes;component/themes/dev2010.xaml"/>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="24"/>
<RowDefinition Height="*"/>
<RowDefinition Height="24"/>
</Grid.RowDefinitions>
<ToolBar Grid.Row="0"></ToolBar>
<dock:DockingManager Grid.Row="1">
<dock:ResizingPanel Orientation="Vertical">
<dock:DocumentPane>
<dock:DocumentContent Title="Test.miz">
<edit:TextEditor x:Name="Editor" TextChanged="Editor_TextChanged" ShowLineNumbers="True">
</edit:TextEditor>
</dock:DocumentContent>
</dock:DocumentPane>
<dock:ResizingPanel Orientation="Horizontal">
<dock:DockablePane>
<dock:DockableContent Title="Output" DockableStyle="AutoHide">
<TextBox IsReadOnly="True" IsReadOnlyCaretVisible="False"/>
</dock:DockableContent>
</dock:DockablePane>
<dock:DockablePane>
<dock:DockableContent Title="Error List" DockableStyle="AutoHide">
<ListView x:Name="ErrorListView">
<ListView.View>
<GridView>
<GridViewColumn Header="Description" DisplayMemberBinding="{Binding Message}" Width="100"/>
<GridViewColumn Header="Line" DisplayMemberBinding="{Binding Line}"/>
<GridViewColumn Header="Column" DisplayMemberBinding="{Binding Column}"/>
</GridView>
</ListView.View>
</ListView>
</dock:DockableContent>
</dock:DockablePane>
</dock:ResizingPanel>
</dock:ResizingPanel>
</dock:DockingManager>
<StatusBar Grid.Row="2"></StatusBar>
</Grid>
</Window>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment