<Page
    x:Class="was.touchcopy.features.music.MusicSettingsPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:was.touchcopy.features.music"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <Grid.Resources>
            <Style x:Key="HelpButtonBorderStyle" TargetType="Border">
                <Setter Property="CornerRadius" Value="12"/>
                <Setter Property="BorderThickness" Value="2"/>
                <Setter Property="BorderBrush" Value="{StaticResource SystemAccentColor}"/>
                <Setter Property="Padding" Value="3"/>
                <Setter Property="VerticalAlignment" Value="Top"/>
            </Style>
            <Style x:Key="HelpButtonFontIconStyle" TargetType="FontIcon">
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="FontWeight" Value="SemiBold"/>
                <Setter Property="Foreground" Value="{ThemeResource SystemAccentColor}"/>
                <Setter Property="Glyph" Value="&#xE897;"/>
            </Style>
        </Grid.Resources>
        <StackPanel Padding="20,10" >
            <TextBlock x:Uid="TextBlockMusicSettings" Style="{ThemeResource TitleTextBlockStyle}" Margin="0,10,0,20" Text="XX Music Settings"/>
            <TextBlock x:Uid="TextBlockGeneralMusicOptions" Style="{ThemeResource SubtitleTextBlockStyle}" Text="XX General Music Options" Margin="0,0,0,15" />
            <CheckBox x:Name="checkBoxHideRemoteTracks">
                <TextBlock x:Uid="TextBlockHideRemoteTracks"  Style="{ThemeResource BodyTextBlockStyle}" Text="XX Hide iCloud and Apple Music tracks."/>
            </CheckBox>
            <CheckBox x:Name="checkBoxEnableSpotify">
                <TextBlock x:Uid="TextBlockEnableSpotify" Style="{ThemeResource BodyTextBlockStyle}" Text="XX Download artist images and missing album artwork."/>
            </CheckBox>
            <TextBlock x:Uid="TextBlockFolderStructure" Style="{ThemeResource SubtitleTextBlockStyle}" Text="XX Folder Structure" Margin="0,20,0,15" />
            <StackPanel Orientation="Horizontal" Spacing="10">
                <FontIcon Glyph="&#xED25;"/>
                <ComboBox x:Name="comboBoxFolderStructureA" MinWidth="140" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Spacing="10" Margin="30,10,0,0">
                <FontIcon Glyph="&#xED25;"/>
                <ComboBox x:Name="comboBoxFolderStructureB" MinWidth="140" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Spacing="10" Margin="60,10,0,0">
                <FontIcon Glyph="&#xED25;"/>
                <ComboBox x:Name="comboBoxFolderStructureC" MinWidth="140" />
            </StackPanel>
            <TextBlock x:Uid="TextBlockFileNameStructure" Style="{ThemeResource SubtitleTextBlockStyle}" Text="XX File Name Structure" Margin="0,20,0,15" />
            <StackPanel Orientation="Horizontal" Spacing="10">
                <FontIcon Glyph="&#xE7C3;"/>
                <ComboBox x:Name="comboBoxFileNameStructureA" MinWidth="140" />
                <TextBlock Text="-" VerticalAlignment="Center" />
                <ComboBox x:Name="comboBoxFileNameStructureB" MinWidth="140" />
                <TextBlock Text="-" VerticalAlignment="Center" />
                <ComboBox x:Name="comboBoxFileNameStructureC" MinWidth="140" />
            </StackPanel>
            <TextBlock x:Uid="TextBlockExampleSubHeader" Style="{ThemeResource SubtitleTextBlockStyle}" FontSize="16" Text="XX Example" Margin="0,20,0,0" />
            <TextBlock x:Name="textBlockExportStructureExample" TextWrapping="Wrap" />
            <StackPanel x:Name="stackPanelAppleMusic">
                <TextBlock x:Uid="TextBlockAppleMusicMedia" Style="{ThemeResource SubtitleTextBlockStyle}" Text="XX Apple Music Media" Margin="0,24,0,15" />
                <TextBlock x:Uid="TextBlockMediaFolderPathLabel" Text="XX Media Folder Location" Margin="0,0,0,5" />
                <Grid Margin="0,0,0,2" ColumnSpacing="8">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*" MaxWidth="500"/>
                        <ColumnDefinition Width="auto"/>
                        <ColumnDefinition Width="auto"/>
                    </Grid.ColumnDefinitions>
                    <TextBox x:Name="textBoxMediaFolderPath" LostFocus="_textBoxMediaFolderPath_LostFocus" />
                    <Button x:Name="buttonMediaFolderPathBrowse" x:Uid="ButtonMediaFolderPathBrowse" Grid.Column="1" Content="XX Browse" Style="{ThemeResource AccentButtonStyle}" Click="_buttonMediaFolderPathBrowse_Click" />
                </Grid>
                <TextBlock x:Uid="TextBlockMediaFolderLocationDescription" Style="{ThemeResource CaptionTextBlockStyle}" MaxWidth="500" HorizontalAlignment="Left" Text="XX This must match the media library location you have set in the Apple Music PC app to be able to copy music to your Apple Music media library." />
            </StackPanel>
        </StackPanel>
    </Grid>
</Page>
