<UserControl
    x:Class="Semi.Avalonia.Demo.Pages.ScrollViewerDemo"
    xmlns="https://github.com/avaloniaui"
    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"
    d:DesignHeight="450"
    d:DesignWidth="800"
    mc:Ignorable="d">
    <StackPanel>
        <ScrollViewer
            Width="200"
            Height="200"
            Margin="10"
            HorizontalScrollBarVisibility="Auto">
            <Rectangle
                Width="300"
                Height="300"
                Fill="#FEFBCB" />
        </ScrollViewer>
        <ScrollViewer
            Width="200"
            Height="200"
            Margin="10"
            HorizontalScrollBarVisibility="Auto"
            Theme="{DynamicResource StaticScrollViewer}">
            <Rectangle
                Width="300"
                Height="300"
                Fill="#FEFBCB" />
        </ScrollViewer>
    </StackPanel>
</UserControl>
