<?xml version="1.0" encoding="utf-8" ?>
<UserControl
    x:Class="Microsoft.PowerToys.Settings.UI.Controls.Timeline"
    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:local="using:Microsoft.PowerToys.Settings.UI.Controls"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Canvas
            x:Name="HeaderCanvas"
            Grid.Row="0"
            Height="24" />

        <!--  Timeline (bands + ticks + labels)  -->
        <Border
            Grid.Row="1"
            BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
            BorderThickness="1"
            CornerRadius="{ThemeResource OverlayCornerRadius}">
            <Canvas
                x:Name="TimelineCanvas"
                Height="36"
                Loaded="TimelineCanvas_Loaded" />
        </Border>

        <!--  Below-chart annotations (sunrise/sunset panels + major labels)  -->
        <Canvas
            x:Name="AnnotationCanvas"
            Grid.Row="2"
            Height="32" />
    </Grid>
</UserControl>
