ListView があり、5 つの ListViewItem を追加しています。3番目のアイテムの高さは、コードで指定された行定義のように残りの高さを取る必要があります。
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
これに関するアイデアはありますか?