<UserControl x:Class="TaskIt.Views.Home"
    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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:CustomControls="clr-namespace:CustomControls;assembly=CustomControls" 
    mc:Ignorable="d"
    d:DesignHeight="1000" d:DesignWidth="800">

    <UserControl.Resources>
        <Storyboard x:Name="LoadButtonsStoryboard">
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="btnTasks" Storyboard.TargetProperty="Opacity">
                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="btnSettings" Storyboard.TargetProperty="Opacity">
                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="00:00:00.25" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="00:00:00.75" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="btnDashboard" Storyboard.TargetProperty="Opacity">
                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="btnHelp" Storyboard.TargetProperty="Opacity">
                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="00:00:00.75" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="00:00:01.25" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </UserControl.Resources>

    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
        <StackPanel Orientation="Horizontal">
            <CustomControls:NavigationButton x:Name="btnTasks" Content="{Binding ResourcePageLinkTasks}" Background="{StaticResource NavigationButtonBrush1}" Command="{Binding NavigateCommand}" CommandParameter="{Binding ModuleTasks}" ImageSource="{Binding IconTasksUri}"/>
            <Rectangle Style="{StaticResource NavigationLinkSpacerStyle}"/>
            <CustomControls:NavigationButton x:Name="btnSettings" Content="{Binding ResourcePageLinkSettings}" Background="{StaticResource NavigationButtonBrush2}" Command="{Binding NavigateCommand}" CommandParameter="{Binding ModuleSettings}" ImageSource="{Binding IconSettingsUri}"/>
            <Rectangle Style="{StaticResource NavigationLinkSpacerStyle}"/>
            <CustomControls:NavigationButton x:Name="btnDashboard" Content="{Binding ResourcePageLinkDashboard}" Background="{StaticResource NavigationButtonBrush3}" Command="{Binding NavigateCommand}" CommandParameter="{Binding ModuleDashboard}" ImageSource="{Binding IconDashboardUri}"/>
            <Rectangle Style="{StaticResource NavigationLinkSpacerStyle}"/>
            <CustomControls:NavigationButton x:Name="btnHelp" Content="{Binding ResourcePageLinkHelp}" Background="{StaticResource NavigationButtonBrush4}" Command="{Binding NavigateCommand}" CommandParameter="{Binding ModuleHelp}" ImageSource="{Binding IconHelpUri}"/>
        </StackPanel>
    </Grid>

</UserControl>
