<UserControl
    x:Class="Wallet.Avalonia.ItemSectionView"
    xmlns="https://github.com/avaloniaui"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:vm="using:Wallet"
    x:DataType="vm:ItemSectionViewModel">
    <ItemsControl ItemTemplate="{ReflectionBinding Template}" ItemsSource="{Binding}">
        <ItemsControl.Styles>
            <Style Selector="ContentPresenter">
                <Setter Property="IsTabStop" Value="False" />
            </Style>
        </ItemsControl.Styles>
        <ItemsControl.ItemsPanel>
            <ItemsPanelTemplate>
                <StackPanel Orientation="Vertical" Spacing="4" />
            </ItemsPanelTemplate>
        </ItemsControl.ItemsPanel>
    </ItemsControl>
</UserControl>
