ウィンドウが展開されたときに UserControl を垂直方向に展開するのに問題があります。
私の UserControl は現在、ItemsControl の VerticalAlignment="Stretch" プロパティを設定することで正しくストレッチされている ItemsControl 内に配置されています。
次の UserControl を ItemsControl に追加します。
<UserControl MinWidth="930">
<Grid VerticalAlignment="Stretch" Background="Red">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200" />
<ColumnDefinition Width="730*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="400" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<DockPanel Grid.Column="1" Grid.ColumnSpan="1" Grid.RowSpan="2" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="Pink" LastChildFill="True">
<ItemsControl Name="itemPanelOverview" Grid.Column="1" Background="Black" Margin="0"/>
</DockPanel>
</Grid>
</UserControl>
UserControl は、次のように TabControl 内の ItemsControl で呼び出されます。
<TabItem>
<TabItem.Header>
HEADER EG
</TabItem.Header>
<ItemsControl Name="contentItems" Grid.ColumnSpan="2" Grid.Column="1" Grid.Row="1" VerticalAlignment="Stretch" Background="Blue">
<Grid Height="35" Background="{DynamicResource GrayMenuGradient}" >
<Image Source="..." Stretch="None" />
<TextBlock Text="{Binding WelcomeMessage}" />
</Grid>
</ItemsControl>
</TabItem>
青い背景が正しく伸びていることがわかるので、ItemsControl (contentItems) が期待どおりに伸びているように見えます。
この UserControl の高さは、行定義以外には設定していません。足りないものはありますか?