<UserControl x:Class="HeBianGu.App.Disk.Extend.ExtendControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:h="https://github.com/HeBianGu"
             xmlns:local="clr-namespace:HeBianGu.App.Disk"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             d:DesignHeight="450"
             d:DesignWidth="800"
             mc:Ignorable="d">
    <Grid>
        <Grid.Resources>
            <Style BasedOn="{StaticResource {x:Static h:ButtonKeys.MouseOver}}" TargetType="Button">
                <Setter Property="h:Cattach.IconSize" Value="70" />
                <Setter Property="Height" Value="120" />
                <Setter Property="Width" Value="120" />
                <Setter Property="h:Cattach.CornerRadius" Value="80" />
                <Setter Property="RenderTransform" Value="{StaticResource {x:Static h:SystemKeys.TransformGroup}}" />
            </Style>
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition Height="0.6*" />
            <RowDefinition />
        </Grid.RowDefinitions>

        <h:Interaction.Behaviors>
            <h:LoadAnimationBehavior End="1" EndValue="0"
                                     IsUseAll="True"
                                     LoadAnimationType="HorizontalAlignment"
                                     Split="0.2"
                                     StartValue="1000" />
        </h:Interaction.Behaviors>


        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransform="{StaticResource {x:Static h:SystemKeys.TransformGroup}}">
            <TextBlock FontSize="25"
                       Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundTitle}}"
                       Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}"
                       Text="功能宝箱" />
            <TextBlock Margin="0,15,0,0"
                       FontSize="{DynamicResource {x:Static h:IconSizeKeys.Large}}"
                       Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}"
                       Text="更多功能，带给您更贴心的体验" />
        </StackPanel>

        <h:Row Grid.Row="1" Height="Auto" VerticalAlignment="Top" Style="{DynamicResource {x:Static h:Row.Column12Key}}">
            <UniformGrid Grid.Column="1"
                         Grid.ColumnSpan="10"
                         HorizontalAlignment="Stretch"
                         VerticalAlignment="Stretch"
                         Columns="5">
                <StackPanel>
                    <Button h:Cattach.Icon="&#xe892;" />

                    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
                        <TextBlock Margin="0,10,0,0"
                                   FontSize="{DynamicResource {x:Static h:IconSizeKeys.Large}}"
                                   Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundTitle}}"
                                   Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}"
                                   Text="自动备份" />
                        <TextBlock Margin="0,10,0,0" Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}" Text="随时备份，告别丢失" />
                    </StackPanel>
                </StackPanel>

                <StackPanel>
                    <Button h:Cattach.Icon="&#xe77d;" />

                    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
                        <TextBlock Margin="0,10,0,0"
                                   FontSize="{DynamicResource {x:Static h:IconSizeKeys.Large}}"
                                   Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundTitle}}"
                                   Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}"
                                   Text="回收站" />
                        <TextBlock Margin="0,10,0,0" Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}" Text="帮你找回删除文件" />
                    </StackPanel>
                </StackPanel>

                <StackPanel>
                    <Button h:Cattach.Icon="&#xe762;" />

                    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
                        <TextBlock Margin="0,10,0,0"
                                   FontSize="{DynamicResource {x:Static h:IconSizeKeys.Large}}"
                                   Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundTitle}}"
                                   Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}"
                                   Text="平台设置" />
                        <TextBlock Margin="0,10,0,0" Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}" Text="自定义配置，带给您更贴心的体验" />
                    </StackPanel>
                </StackPanel>

                <StackPanel>
                    <Button h:Cattach.Icon="&#xe75a;" />

                    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
                        <TextBlock Margin="0,10,0,0"
                                   FontSize="{DynamicResource {x:Static h:IconSizeKeys.Large}}"
                                   Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundTitle}}"
                                   Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}"
                                   Text="手机扫描" />
                        <TextBlock Margin="0,10,0,0" Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}" Text="带给您更贴心的体验" />
                    </StackPanel>
                </StackPanel>

                <StackPanel>
                    <Button h:Cattach.Icon="&#xeb3f;" />

                    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
                        <TextBlock Margin="0,10,0,0"
                                   FontSize="{DynamicResource {x:Static h:IconSizeKeys.Large}}"
                                   Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundTitle}}"
                                   Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}"
                                   Text="锁定网盘" />
                        <TextBlock Margin="0,10,0,0" Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}" Text="管理登录设备，保护账号安全" />
                    </StackPanel>
                </StackPanel>
            </UniformGrid>
        </h:Row>
    </Grid>
</UserControl>
