<Window x:Class="Texteditor.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Texteditor" Height="350" Width="525" Icon="/Texteditor;component/AppSymbol.ico" >
    
    <DockPanel Name="dockPanel1">
        <Menu Height="23" Name="menu1" DockPanel.Dock="Top" VerticalAlignment="Top">
            <MenuItem Name="miFile" Header="_Datei">
                <MenuItem Name="miFileNew" Header="_Neu" />
                <MenuItem Name="miFileOpen" Header="Ö_ffnen" />
                <MenuItem Name="miFileSave" Header="_Speichern" />
                <MenuItem Name="miFileSaveAs" Header="Speichern _unter" />
                <Separator />
                <MenuItem Name="miFileQuit" Header="_Beenden" />
            </MenuItem>
            <MenuItem Name="miEdit" Header="_Bearbeiten">
                <MenuItem Name="miEditCut" Header="Au_sschneiden" />
                <MenuItem Name="miEditCopy" Header="_Kopieren" />
                <MenuItem Name="miEditPaste" Header="_Einfügen" />
            </MenuItem>
        </Menu>
                    
        <ToolBarPanel Height="26" Name="toolBarPanel1" DockPanel.Dock="Top" VerticalAlignment="Top">
            <ToolBar Height="26" Name="toolBar1">
                <Button Name="btnNew" ToolTip="Neues Dokument">
                    <Image Source="/Texteditor;component/Images/NewDocument.png" />
                </Button>
                <Button Name="btnOpen" ToolTip="Dokument öffnen">
                    <Image Source="/Texteditor;component/Images/Open.png" />
                </Button>
                <Button Name="btnSave" ToolTip="Dokument speichern">
                    <Image Source="/Texteditor;component/Images/Save.png" />
                </Button>
                <Button Name="btnCut" ToolTip="Ausschneiden">
                    <Image Source="/Texteditor;component/Images/Cut.png" />
                </Button>
                <Button Name="btnCopy" ToolTip="Kopieren">
                    <Image Source="/Texteditor;component/Images/Copy.png" />
                </Button>
                <Button Name="btnPaste" ToolTip="Einfügen">
                    <Image Source="/Texteditor;component/Images/Paste.png" />
                </Button>
            </ToolBar>
        </ToolBarPanel>

        <StatusBar Height="23" Name="statusBar1" DockPanel.Dock="Bottom" VerticalAlignment="Bottom">
            <StatusBarItem Name="sbInfo"/>
        </StatusBar>

        <TextBox Name="textBox1" AllowDrop="True" AcceptsTab="True" AcceptsReturn="True">
            <TextBox.ContextMenu>
                <ContextMenu>                    
                    <MenuItem Name="cmiEditCut" Header="Au_sschneiden" />
                    <MenuItem Name="cmiEditCopy" Header="_Kopieren" />
                    <MenuItem Name="cmiEditPaste" Header="_Einfügen" />
                </ContextMenu>
            </TextBox.ContextMenu>
        </TextBox>

    </DockPanel>
</Window>
