﻿<Page x:Class="XFEToolBox.Views.Pages.DownloadPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:viewmodel="clr-namespace:XFEToolBox.ViewModel.Pages"
      xmlns:ctr="clr-namespace:XFEToolBox.Views.Controls"
      xmlns:local="clr-namespace:XFEToolBox.Views.Pages"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="DownloadPage" d:DataContext="{d:DesignInstance Type=viewmodel:DownloadPageViewModel}">

    <Grid>
        <ScrollViewer HorizontalScrollBarVisibility="Disabled" Padding="5">
            <ScrollViewer.Resources>
                <Style TargetType="ScrollBar" BasedOn="{StaticResource ConsoleScrollBar}"/>
            </ScrollViewer.Resources>
            <WrapPanel>
                <ctr:MiniToolButton ToolName="Steam" IconSource="/Resources/Image/DownloadImage/steam_logo.png" Tag="Steam" Margin="5" Command="{Binding GotoDownloadPageCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
                <ctr:MiniToolButton ToolName="Steam++(Watt Toolkit)" IconSource="/Resources/Image/DownloadImage/steampp.png" Tag="Steampp" Margin="5" Command="{Binding GotoDownloadPageCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
                <ctr:MiniToolButton ToolName="Visual Studio" IconSource="/Resources/Image/DownloadImage/visual_studio.png" Tag="VisualStudio" Margin="5" Command="{Binding GotoDownloadPageCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
                <ctr:MiniToolButton ToolName="Cheat Engine" IconSource="/Resources/Image/DownloadImage/cheat_engine.png" Tag="CheatEngine" Margin="5" Command="{Binding GotoDownloadPageCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
            </WrapPanel>
        </ScrollViewer>
    </Grid>
</Page>
