You can wrap items using the C1WrapPanel.BreakLine Attached property. In this example, HyperlinkButtons are used. Complete the following steps:
Markup Copy Code <Border Margin="2" BorderBrush="Black" BorderThickness="2" Background="Orange"> <HyperlinkButton Foreground="White" Content="Example Text" FontSize="25" /> </Border> <Border Margin="2" BorderBrush="Black" BorderThickness="2" Background="Green" Xaml:C1WrapPanel.BreakLine="After"> <HyperlinkButton Foreground="White" Content="Break After" /> </Border> <Border Margin="2" BorderBrush="Black" BorderThickness="2" Background="Blue"> <HyperlinkButton Foreground="White" Content="C1WrapPanel" FontSize="16"/> </Border> <Border Margin="2" BorderBrush="Black" BorderThickness="2" Background="Red"> <HyperlinkButton Foreground="White" Content="Wrap Vertically" /> </Border> <Border Margin="2" BorderBrush="Black" BorderThickness="2" Background="Purple"> <HyperlinkButton Foreground="White" Content="Wrap Horizontally" FontSize="20" /> </Border>
Notice the C1WrapPanel.BreakLine property is set to After for the second HyperlinkButton. This will add a break after the button.
Notice there is a break after the second HyperlinkButton.