ドック パネルをドッキングしようとしましたが、できませんでした。通常、Windows フォームでは、パネルをドッキングすると正しく収まります。ドックパネルのボタンをドッキングするためだけに表示されるグーグルで検索しました。
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<DockPanel>
<DockPanel DockPanel.Dock="Left" Background="Azure">
<TextBlock Width="600"></TextBlock>
</DockPanel>
<DockPanel DockPanel.Dock="Right" Background="Black"></DockPanel>
<DockPanel DockPanel.Dock="top" Background="Cornsilk"></DockPanel>
</DockPanel>
</Grid>