<StackPanel Grid.Row="0" Height="Auto" Width="Auto">
<Label Name="Label1" BorderThickness="2,2,2,2" BorderBrush="Gray" HorizontalContentAlignment="Center" Width="Auto" Height="28">Window1</Label>
<ListView BorderThickness="2,0,2,0" BorderBrush="Gray"Height="Auto" Width="Auto" />
</StackPanel>
在上面的 XAML 中,我想ListView
将StackPanel
. 我想要.之后ListView
的整个客户区。StackPanel
Label
我究竟做错了什么 ?