<UserControl x:Class="HandyControlDemo.UserControl.UniformSpacingPanelDemoCtl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:hc="https://handyorg.github.io/handycontrol"
             xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
             xmlns:ex="clr-namespace:HandyControlDemo.Tools.Extension"
             Background="{DynamicResource RegionBrush}">
    <hc:TransitioningContentControl>
        <hc:SimpleStackPanel Margin="32">
            <hc:UniformSpacingPanel Spacing="10">
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
            </hc:UniformSpacingPanel>
            <hc:Divider LineStrokeDashArray="2,2"/>
            <hc:UniformSpacingPanel Spacing="10" Orientation="Vertical">
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
            </hc:UniformSpacingPanel>
            <hc:Divider LineStrokeDashArray="2,2"/>
            <hc:UniformSpacingPanel Spacing="10" Width="300" ChildWrapping="Wrap" HorizontalAlignment="Left">
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
            </hc:UniformSpacingPanel>
            <hc:Divider LineStrokeDashArray="2,2"/>
            <hc:UniformSpacingPanel Spacing="10" Orientation="Vertical" Height="70" ChildWrapping="Wrap" HorizontalAlignment="Left">
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
                <Button Content="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/>
            </hc:UniformSpacingPanel>
        </hc:SimpleStackPanel>
    </hc:TransitioningContentControl>
</UserControl>
