|
|
|
@ -174,6 +174,21 @@ |
|
|
|
<Rectangle Fill="#FFC107" Height="50" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<TextBlock Text="WrapPanel" FontWeight="Medium" FontSize="20" Foreground="#212121" /> |
|
|
|
<TextBlock Text="Wraps children to new lines if no space is left:" |
|
|
|
FontSize="13" |
|
|
|
Foreground="#727272" |
|
|
|
Margin="0, 0, 0, 10" /> |
|
|
|
<WrapPanel> |
|
|
|
<Rectangle Fill="#FFC107" Height="50" Width="100" Margin="2.5" /> |
|
|
|
<Rectangle Fill="#FFC107" Height="100" Width="100" Margin="2.5" /> |
|
|
|
<Rectangle Fill="#FFC107" Height="50" Width="100" Margin="2.5" /> |
|
|
|
<Rectangle Fill="#FFC107" Height="50" Width="200" Margin="2.5" /> |
|
|
|
<Rectangle Fill="#FFC107" Height="100" Width="50" Margin="2.5" /> |
|
|
|
<Rectangle Fill="#FFC107" Height="50" Width="100" Margin="2.5" /> |
|
|
|
<Rectangle Fill="#FFC107" Height="50" Width="100" Margin="2.5" /> |
|
|
|
</WrapPanel> |
|
|
|
|
|
|
|
<TextBlock Text="Canvas" FontWeight="Medium" FontSize="20" Foreground="#212121" /> |
|
|
|
<TextBlock Text="A panel which lays out its children by explicit coordinates." |
|
|
|
FontSize="13" |
|
|
|
|