Ich möchte Grid
innerhalb einer Viewbox
dehnen. Der Code, den ich Gott habe, funktioniert nicht richtig. Irgendeine Ahnung?So strecken Sie Grid in einer Viewbox
<Viewbox HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
</Grid.RowDefinitions>
</Grid>
</Viewbox>
hinzufügen Stretch = "Fill" in ViewBox – Tuco