Created
November 5, 2020 03:53
-
-
Save ivanjx/8fddf434ae4c10008dd43234d6ba17e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Window x:Class="wpf_test.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:local="clr-namespace:wpf_test" | |
mc:Ignorable="d" | |
Title="MainWindow" Height="450" Width="800"> | |
<WrapPanel> | |
<Grid | |
Background="Gray" | |
Margin="5" | |
VerticalAlignment="Stretch"> | |
<Grid | |
Height="100" | |
Width="100"/> | |
</Grid> | |
<Grid | |
Background="Gray" | |
Margin="5" | |
VerticalAlignment="Stretch"> | |
<Grid | |
Height="100" | |
Width="100"/> | |
</Grid> | |
<Grid | |
Background="Gray" | |
Margin="5" | |
VerticalAlignment="Stretch"> | |
<Grid | |
Height="100" | |
Width="100"/> | |
</Grid> | |
<Grid | |
Background="Gray" | |
Margin="5" | |
VerticalAlignment="Stretch"> | |
<Grid | |
Height="100" | |
Width="100"/> | |
</Grid> | |
<Grid | |
Background="Red" | |
Margin="5" | |
VerticalAlignment="Stretch"> | |
<Grid | |
Height="50" | |
Width="100"/> | |
</Grid> | |
<Grid | |
Background="Red" | |
Margin="5" | |
VerticalAlignment="Stretch"> | |
<Grid | |
Height="50" | |
Width="100"/> | |
</Grid> | |
<Grid | |
Background="Red" | |
Margin="5" | |
VerticalAlignment="Stretch"> | |
<Grid | |
Height="50" | |
Width="100"/> | |
</Grid> | |
<Grid | |
Background="Red" | |
Margin="5" | |
VerticalAlignment="Stretch"> | |
<Grid | |
Height="50" | |
Width="100"/> | |
</Grid> | |
</WrapPanel> | |
</Window> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment