New to Telerik UI for WPFStart a free 30-day trial

Layout Panel

Updated on Oct 8, 2025

The purpose of this article is to describe how the RadLayoutControl children are arranged in their panel.

The items panel of RadLayoutControl and the layout groups is a LayoutPanel. So, each group arranges its children in its available space using the same logic. This is why this article won't consider a scenario with nested groups but it will explain the arrangment only in a single panel with its Orientation set to Horizontal. The same principles apply in a vertically oriented panel.

This article is not relevant for the LayoutControlTabGroup. The tab items of the group are always arranged horizontally.

The following rules apply to the children of the LayoutPanel with a horizontal orientation:

In summary, the panel allocates space for the left and right aligned items first. Then the available space that is left is given to the center aligned and the stretched items.

The order of the children in the LayoutPanel depends on their alignment and also their collection index.

The same rules are valid for a LayoutPanel with vertical orientation.

Code Examples

This section contains the items setup demonstrated in the images in the article.

Example 1: Left and right aligned items

XAML
	<telerik:RadLayoutControl>
		<Button Content="Left" HorizontalAlignment="Left" />
		<Button Content="Left" HorizontalAlignment="Left" />
		<Button Content="Left" HorizontalAlignment="Left" />
		<Button Content="Left aligned" HorizontalAlignment="Left" />
		<Button Content="Right" HorizontalAlignment="Right" />
		<Button Content="Right" HorizontalAlignment="Right" />
		<Button Content="Right" HorizontalAlignment="Right" />
	</telerik:RadLayoutControl>

Example 2: Stretched items with different sizes

XAML
	<telerik:RadLayoutControl>
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
		<Button Content="Stretch - with bigger size" HorizontalAlignment="Stretch" />
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
		<Button Content="Stretch - with bigger size" HorizontalAlignment="Stretch" />
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
	</telerik:RadLayoutControl>

Example 3: Stretched and left/rigth aligned items with different sizes

XAML
	<telerik:RadLayoutControl>
		<Button Content="Left" HorizontalAlignment="Left" />
		<Button Content="Left" HorizontalAlignment="Left" />
		<Button Content="Left - with bigger size" HorizontalAlignment="Left" />
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
		<Button Content="Right" HorizontalAlignment="Right" />
		<Button Content="Right" HorizontalAlignment="Right" />
	</telerik:RadLayoutControl>

Example 4: Centered items

XAML
	<telerik:RadLayoutControl>
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
	</telerik:RadLayoutControl>

Example 5: Centered and left/right aligned items

XAML
	<telerik:RadLayoutControl>
		<Button Content="Left" HorizontalAlignment="Left" />
		<Button Content="Right" HorizontalAlignment="Right" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
	</telerik:RadLayoutControl>

Example 6: Centered items and a single stretched item inserted at the end of the children collection

XAML
	<telerik:RadLayoutControl>
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
	</telerik:RadLayoutControl>

Example 7: Centered items and a single stretched item inserted at the beginning of the children collection

XAML
	<telerik:RadLayoutControl>		
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />		
		<Button Content="Center" HorizontalAlignment="Center" />
	</telerik:RadLayoutControl>	

Example 8: Centered items and a single stretched item inserted in the middle of the children collection

XAML
	<telerik:RadLayoutControl>		
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
		<Button Content="Center" HorizontalAlignment="Center" />		
		<Button Content="Center" HorizontalAlignment="Center" />
	</telerik:RadLayoutControl>

Example 9: Centered, stretched and left/right aligned items

XAML
	<telerik:RadLayoutControl>
		<Button Content="Left" HorizontalAlignment="Left" />
		<Button Content="Left" HorizontalAlignment="Left" />
		<Button Content="Left" HorizontalAlignment="Left" />
		<Button Content="Right" HorizontalAlignment="Right" />
		<Button Content="Right" HorizontalAlignment="Right" />
		<Button Content="Right" HorizontalAlignment="Right" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Stretch" HorizontalAlignment="Stretch" />
		<Button Content="Center" HorizontalAlignment="Center" />
		<Button Content="Stretched item with bigger size" HorizontalAlignment="Stretch" />
	</telerik:RadLayoutControl>

See Also

In this article
Code ExamplesSee Also
Not finding the help you need?
Contact Support