Skip to content

Instantly share code, notes, and snippets.

@tmyt
Created May 21, 2018 16:27
Show Gist options
  • Save tmyt/dca3b0ccb3374c90a11a1b2e5b04ff2c to your computer and use it in GitHub Desktop.
Save tmyt/dca3b0ccb3374c90a11a1b2e5b04ff2c to your computer and use it in GitHub Desktop.
windows phone 8.1 - system theme
<?xml version="1.0" encoding="utf-8"?>
<!--
//
// Copyright (c) Microsoft Corporation. All Rights Reserved.
//
-->
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:Windows.UI.Xaml.Controls" xmlns:primitives="using:Windows.UI.Xaml.Controls.Primitives"
xmlns:animation="using:Windows.UI.Xaml.Media.Animation" xmlns:maps="using:Windows.UI.Xaml.Controls.Maps">
<!--
******************************************************************
DEFAULT COMMON CONTROL PROPERTIES
******************************************************************
-->
<!-- THEME RESOURCES -->
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Default">
<!-- Even though PhoneBaseBlackColor and PhoneBaseWhiteColor do not vary with themes, they should not be moved
because other resources reference them using the ThemeResource markup. -->
<Color x:Key="PhoneBaseBlackColor">#FF000000</Color>
<Color x:Key="PhoneBaseWhiteColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBackgroundColor">#FF000000</Color>
<Color x:Key="PhoneDisabledColor">#66FFFFFF</Color>
<Color x:Key="PhoneForegroundColor">#FFFFFFFF</Color>
<Color x:Key="PhonePageBackgroundColor">#FF000000</Color>
<Color x:Key="PhoneTextHighColor">#FFFFFFFF</Color>
<Color x:Key="PhoneTextMidColor">#99FFFFFF</Color>
<Color x:Key="PhoneTextLowColor">#73FFFFFF</Color>
<Color x:Key="PhoneTextOverAccentColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBaseHighColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBaseMediumHighColor">#CCFFFFFF</Color>
<Color x:Key="PhoneBaseMidColor">#99FFFFFF</Color>
<Color x:Key="PhoneBaseMediumMidColor">#80FFFFFF</Color>
<Color x:Key="PhoneBaseMediumMidSolidColor">#FF666666</Color>
<Color x:Key="PhoneBaseLowColor">#73FFFFFF</Color>
<Color x:Key="PhoneBaseLowSolidColor">#FF747474</Color>
<Color x:Key="PhoneImagePlaceholderColor">#FF3D3D3D</Color>
<Color x:Key="PhoneChromeColor">#FF1F1F1F</Color>
<Color x:Key="PhoneControlBackgroundColor">Transparent</Color>
<Color x:Key="PhoneControlDisabledColor">#66FFFFFF</Color>
<Color x:Key="PhoneControlForegroundColor">#FFFFFFFF</Color>
<Color x:Key="TextBoxBackgroundColor">#FFFFFFFF</Color>
<Color x:Key="TextBoxBorderColor">#FFFFFFFF</Color>
<Color x:Key="TextBoxForegroundColor">#FF000000</Color>
<Color x:Key="TextBoxPlaceholderColor">#FF909090</Color>
<Color x:Key="ContentDialogDimmingColor">#99000000</Color>
<SolidColorBrush x:Key="AutoSuggestBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="DefaultTextForegroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="SliderThumbBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="SliderThumbDisabledBackgroundThemeBrush" Color="#FF999999" />
<SolidColorBrush x:Key="SliderThumbDisabledBorderThemeBrush" Color="#FF999999"/>
<SolidColorBrush x:Key="SliderTrackBackgroundThemeBrush" Color="#FF1F1F1F" />
<SolidColorBrush x:Key="SliderTrackBorderThemeBrush" Color="#FF1F1F1F" />
<SolidColorBrush x:Key="SliderTrackDisabledBackgroundThemeBrush" Color="#FF1F1F1F" />
<SolidColorBrush x:Key="SliderTrackDisabledBorderThemeBrush" Color="#FF1F1F1F" />
<SolidColorBrush x:Key="SliderTrackDecreaseDisabledBackgroundThemeBrush" Color="#FF666666" />
<SolidColorBrush x:Key="TextBoxFocusedBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="LoopingSelectorForegroundThemeBrush" Color="#73FFFFFF" />
<SolidColorBrush x:Key="PhoneHighContrastSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneHighContrastSelectedBackgroundThemeBrush" Color="#00000000" />
<SolidColorBrush x:Key="JumpListDefaultEnabledForeground" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="JumpListDefaultEnabledBackground" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="JumpListDefaultDisabledForeground" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="JumpListDefaultDisabledBackground" Color="#FF1F1F1F" />
<SolidColorBrush x:Key="ComboBoxHighlightedBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ComboBoxHighlightedForegroundThemeBrush" Color="#FF000000" />
<x:Double x:Key="ComboBoxFlyoutListPlaceholderTextOpacity">0.6</x:Double>
<SolidColorBrush x:Key="ListPickerFlyoutPresenterSelectedItemForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListPickerFlyoutPresenterSelectedItemBackgroundThemeBrush" Color="#00000000" />
<SolidColorBrush x:Key="ProgressBarBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" Opacity="0.16"/>
<SolidColorBrush x:Key="ProgressBarHighContrastAccentBarThemeBrush" Color="Transparent" />
<!-- Theming global brushes -->
<SolidColorBrush x:Key="PhoneAccentBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneChromeBrush" Color="{ThemeResource PhoneChromeColor}"/>
<SolidColorBrush x:Key="PhoneForegroundBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="PhoneBackgroundBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="PhoneDisabledBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="PhoneButtonBasePressedForegroundBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="PhoneMidBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="PhoneLowBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxPressedBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxCheckBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxBorderBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextSelectionHighlightColorThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Application -->
<SolidColorBrush x:Key="ApplicationForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ApplicationHeaderForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ApplicationPageBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ApplicationPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ApplicationPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ApplicationSecondaryForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<!-- Pivot -->
<SolidColorBrush x:Key="PivotHeaderBackgroundSelectedBrush" Color="{ThemeResource PhoneControlBackgroundColor}" />
<SolidColorBrush x:Key="PivotHeaderForegroundSelectedBrush" Color="{ThemeResource PhoneControlForegroundColor}" />
<SolidColorBrush x:Key="PivotHeaderForegroundUnselectedBrush" Color="{ThemeResource PhoneControlDisabledColor}" />
<!-- ContentDialog -->
<SolidColorBrush x:Key="ContentDialogDimmingThemeBrush" Color="{ThemeResource ContentDialogDimmingColor}" />
<SolidColorBrush x:Key="ContentDialogBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<!-- Flyout -->
<SolidColorBrush x:Key="FlyoutBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}"/>
<SolidColorBrush x:Key="MenuFlyoutBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="MenuFlyoutBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MenuFlyoutItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<!-- FocusVisual -->
<SolidColorBrush x:Key="FocusVisualBlackStrokeThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="FocusVisualWhiteStrokeThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<!-- Application Bar -->
<SolidColorBrush x:Key="AppBarBackgroundThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="AppBarBorderThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="AppBarItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="AppBarItemForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="AppBarItemPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarItemPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarSeparatorForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- BackButton -->
<SolidColorBrush x:Key="BackButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="BackButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="BackButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="BackButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="BackButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Button -->
<SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="ButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- CheckBox -->
<SolidColorBrush x:Key="CheckBoxBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxContentDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxContentForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="CheckBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="CheckBoxPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<!-- ComboBox -->
<SolidColorBrush x:Key="ComboBoxBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ComboBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ComboBoxHighlightedBorderThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxInlinePlaceholderTextForegroundThemeBrush" Color="{ThemeResource PhoneTextMidColor}" />
<SolidColorBrush x:Key="ComboBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ComboBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxPlaceholderTextForegroundThemeBrush" Color="{ThemeResource PhoneTextLowColor}" />
<SolidColorBrush x:Key="ComboBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<!-- Command Bar -->
<SolidColorBrush x:Key="CommandBarBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<SolidColorBrush x:Key="CommandBarForegroundThemeBrush" Color="{ThemeResource PhoneTextHighColor}" />
<!-- Date Picker -->
<SolidColorBrush x:Key="DatePickerForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- FlipViewButton -->
<SolidColorBrush x:Key="FlipViewButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="FlipViewButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Hyperlink -->
<SolidColorBrush x:Key="HyperlinkDisabledThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="HyperlinkForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="HyperlinkPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="HyperlinkPressedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ListBox -->
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ListView -->
<SolidColorBrush x:Key="ListViewGroupHeaderForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewGroupHeaderPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListViewGroupHeaderPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ListViewItemCheckHintThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemCheckSelectingThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemCheckThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="ListViewItemDragBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemDragForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemFocusBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemOverlayBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListViewItemOverlayForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemOverlaySecondaryForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="GridViewItemPlaceholderBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<SolidColorBrush x:Key="ListViewItemPlaceholderBackgroundThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="ListViewItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Media -->
<SolidColorBrush x:Key="MediaButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MediaButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="MediaButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MediaButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="MediaButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="MediaButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="MediaControlPanelAudioThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="MediaDownloadProgressIndicatorThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="MediaErrorBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="MediaTextThemeBrush" Color="{ThemeResource PhoneTextHighColor}" />
<!-- ProgressBar -->
<SolidColorBrush x:Key="ProgressBarForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ProgressBarIndeterminateForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ProgressRing -->
<SolidColorBrush x:Key="ProgressRingTextForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}"/>
<!-- RadioButton -->
<SolidColorBrush x:Key="RadioButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonContentDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonContentForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="RadioButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="RadioButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<!-- RepeatButton -->
<SolidColorBrush x:Key="RepeatButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RepeatButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RepeatButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="RepeatButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<!-- ScrollBar -->
<SolidColorBrush x:Key="ScrollBarButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ScrollBarPanningBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarThumbBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ScrollBarTrackBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarTrackBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<!-- SemanticZoom -->
<SolidColorBrush x:Key="SemanticZoomButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Slider -->
<SolidColorBrush x:Key="SliderThumbBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderTickMarkInlineBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="SliderTickMarkInlineDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="SliderTickmarkOutsideBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="SliderTickMarkOutsideDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="SliderTrackDecreaseBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackDecreasePointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackDecreasePressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SliderTrackPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Text Box -->
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="{ThemeResource TextBoxBackgroundColor}" />
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="{ThemeResource TextBoxBorderColor}" />
<SolidColorBrush x:Key="TextBoxButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="TextBoxButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="TextBoxButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="TextBoxButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="TextBoxButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowSolidColor}" />
<SolidColorBrush x:Key="TextBoxDisabledHeaderForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="TextBoxForegroundHeaderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="{ThemeResource TextBoxForegroundColor}" />
<SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="{ThemeResource TextBoxPlaceholderColor}" />
<!--Thumb -->
<SolidColorBrush x:Key="ThumbBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Time Picker -->
<SolidColorBrush x:Key="TimePickerForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- ToggleButton -->
<SolidColorBrush x:Key="ToggleButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidSolidColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchHeaderDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleSwitchHeaderForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleSwitchOuterBorderBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchOuterBorderDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbBorderThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidSolidColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBorderThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Misc -->
<SolidColorBrush x:Key="LoopingSelectorSelectionBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="LoopingSelectorSelectionForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
</ResourceDictionary>
<ResourceDictionary x:Key="Light">
<!-- Even though PhoneBaseBlackColor and PhoneBaseWhiteColor do not vary with themes, they should not be moved
because other resources reference them using the ThemeResource markup. -->
<Color x:Key="PhoneBaseBlackColor">#FF000000</Color>
<Color x:Key="PhoneBaseWhiteColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBackgroundColor">#FFFFFFFF</Color>
<Color x:Key="PhoneDisabledColor">#66000000</Color>
<Color x:Key="PhoneForegroundColor">#FF000000</Color>
<Color x:Key="PhonePageBackgroundColor">#FFFFFFFF</Color>
<Color x:Key="PhoneTextHighColor">#DE000000</Color>
<Color x:Key="PhoneTextMidColor">#73000000</Color>
<Color x:Key="PhoneTextLowColor">#40000000</Color>
<Color x:Key="PhoneTextOverAccentColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBaseHighColor">#FF000000</Color>
<Color x:Key="PhoneBaseMediumHighColor">#BF000000</Color>
<Color x:Key="PhoneBaseMidColor">#73000000</Color>
<Color x:Key="PhoneBaseMediumMidColor">#80000000</Color>
<Color x:Key="PhoneBaseMediumMidSolidColor">#FFCCCCCC</Color>
<Color x:Key="PhoneBaseLowColor">#40000000</Color>
<Color x:Key="PhoneBaseLowSolidColor">#FFBFBFBF</Color>
<Color x:Key="PhoneImagePlaceholderColor">#FFCCCCCC</Color>
<Color x:Key="PhoneChromeColor">#FFDDDDDD</Color>
<Color x:Key="PhoneControlBackgroundColor">Transparent</Color>
<Color x:Key="PhoneControlDisabledColor">#66000000</Color>
<Color x:Key="PhoneControlForegroundColor">#FF000000</Color>
<Color x:Key="TextBoxBackgroundColor">#FFBFBFBF</Color>
<Color x:Key="TextBoxBorderColor">#FFBFBFBF</Color>
<Color x:Key="TextBoxForegroundColor">#FF000000</Color>
<Color x:Key="TextBoxPlaceholderColor">#40000000</Color>
<Color x:Key="ContentDialogDimmingColor">#99FFFFFF</Color>
<SolidColorBrush x:Key="AutoSuggestBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="DefaultTextForegroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="SliderThumbBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="SliderThumbDisabledBackgroundThemeBrush" Color="#FF808080" />
<SolidColorBrush x:Key="SliderThumbDisabledBorderThemeBrush" Color="#FF808080"/>
<SolidColorBrush x:Key="SliderTrackBackgroundThemeBrush" Color="#FFDEDEDE" />
<SolidColorBrush x:Key="SliderTrackBorderThemeBrush" Color="#FFDEDEDE" />
<SolidColorBrush x:Key="SliderTrackDisabledBackgroundThemeBrush" Color="#FFDEDEDE" />
<SolidColorBrush x:Key="SliderTrackDisabledBorderThemeBrush" Color="#FFDEDEDE" />
<SolidColorBrush x:Key="SliderTrackDecreaseDisabledBackgroundThemeBrush" Color="#FFBDBDBD" />
<SolidColorBrush x:Key="TextBoxFocusedBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="LoopingSelectorForegroundThemeBrush" Color="#40000000" />
<SolidColorBrush x:Key="PhoneHighContrastSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneHighContrastSelectedBackgroundThemeBrush" Color="#00FFFFFF" />
<SolidColorBrush x:Key="JumpListDefaultEnabledForeground" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="JumpListDefaultEnabledBackground" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="JumpListDefaultDisabledForeground" Color="#FFA5A5A5" />
<SolidColorBrush x:Key="JumpListDefaultDisabledBackground" Color="#FFDEDEDE" />
<SolidColorBrush x:Key="ComboBoxHighlightedBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ComboBoxHighlightedForegroundThemeBrush" Color="#FF000000" />
<x:Double x:Key="ComboBoxFlyoutListPlaceholderTextOpacity">0.45</x:Double>
<SolidColorBrush x:Key="ListPickerFlyoutPresenterSelectedItemForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListPickerFlyoutPresenterSelectedItemBackgroundThemeBrush" Color="#00FFFFFF" />
<SolidColorBrush x:Key="ProgressBarBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" Opacity="0.16"/>
<SolidColorBrush x:Key="ProgressBarHighContrastAccentBarThemeBrush" Color="Transparent" />
<!-- Theming global brushes -->
<SolidColorBrush x:Key="PhoneAccentBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneChromeBrush" Color="{ThemeResource PhoneChromeColor}"/>
<SolidColorBrush x:Key="PhoneForegroundBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="PhoneBackgroundBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="PhoneDisabledBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="PhoneButtonBasePressedForegroundBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="PhoneMidBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="PhoneLowBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxPressedBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxCheckBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxBorderBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextSelectionHighlightColorThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Application -->
<SolidColorBrush x:Key="ApplicationForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ApplicationHeaderForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ApplicationPageBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ApplicationPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ApplicationPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ApplicationSecondaryForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<!-- Pivot -->
<SolidColorBrush x:Key="PivotHeaderBackgroundSelectedBrush" Color="{ThemeResource PhoneControlBackgroundColor}" />
<SolidColorBrush x:Key="PivotHeaderForegroundSelectedBrush" Color="{ThemeResource PhoneControlForegroundColor}" />
<SolidColorBrush x:Key="PivotHeaderForegroundUnselectedBrush" Color="{ThemeResource PhoneControlDisabledColor}" />
<!-- ContentDialog -->
<SolidColorBrush x:Key="ContentDialogDimmingThemeBrush" Color="{ThemeResource ContentDialogDimmingColor}" />
<SolidColorBrush x:Key="ContentDialogBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<!-- Flyout -->
<SolidColorBrush x:Key="FlyoutBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}"/>
<SolidColorBrush x:Key="MenuFlyoutBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="MenuFlyoutBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MenuFlyoutItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<!-- FocusVisual -->
<SolidColorBrush x:Key="FocusVisualBlackStrokeThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="FocusVisualWhiteStrokeThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<!-- Application Bar -->
<SolidColorBrush x:Key="AppBarBackgroundThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="AppBarBorderThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="AppBarItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="AppBarItemForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="AppBarItemPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarItemPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarSeparatorForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- BackButton -->
<SolidColorBrush x:Key="BackButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="BackButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="BackButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="BackButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="BackButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Button -->
<SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="ButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- CheckBox -->
<SolidColorBrush x:Key="CheckBoxBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxContentDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxContentForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="CheckBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="CheckBoxPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<!-- ComboBox -->
<SolidColorBrush x:Key="ComboBoxBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ComboBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ComboBoxHighlightedBorderThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxInlinePlaceholderTextForegroundThemeBrush" Color="{ThemeResource PhoneTextMidColor}" />
<SolidColorBrush x:Key="ComboBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ComboBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxPlaceholderTextForegroundThemeBrush" Color="{ThemeResource PhoneTextLowColor}" />
<SolidColorBrush x:Key="ComboBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<!-- Command Bar -->
<SolidColorBrush x:Key="CommandBarBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<SolidColorBrush x:Key="CommandBarForegroundThemeBrush" Color="{ThemeResource PhoneTextHighColor}" />
<!-- Date Picker -->
<SolidColorBrush x:Key="DatePickerForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- FlipViewButton -->
<SolidColorBrush x:Key="FlipViewButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="FlipViewButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Hyperlink -->
<SolidColorBrush x:Key="HyperlinkDisabledThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="HyperlinkForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="HyperlinkPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="HyperlinkPressedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ListBox -->
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ListView -->
<SolidColorBrush x:Key="ListViewGroupHeaderForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewGroupHeaderPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListViewGroupHeaderPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ListViewItemCheckHintThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemCheckSelectingThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemCheckThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="ListViewItemDragBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemDragForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemFocusBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemOverlayBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListViewItemOverlayForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemOverlaySecondaryForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="GridViewItemPlaceholderBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<SolidColorBrush x:Key="ListViewItemPlaceholderBackgroundThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="ListViewItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Media -->
<SolidColorBrush x:Key="MediaButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MediaButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="MediaButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MediaButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="MediaButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="MediaButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="MediaControlPanelAudioThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="MediaDownloadProgressIndicatorThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="MediaErrorBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="MediaTextThemeBrush" Color="{ThemeResource PhoneTextHighColor}" />
<!-- ProgressBar -->
<SolidColorBrush x:Key="ProgressBarForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ProgressBarIndeterminateForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ProgressRing -->
<SolidColorBrush x:Key="ProgressRingTextForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}"/>
<!-- RadioButton -->
<SolidColorBrush x:Key="RadioButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonContentDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonContentForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="RadioButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="RadioButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<!-- RepeatButton -->
<SolidColorBrush x:Key="RepeatButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RepeatButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RepeatButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="RepeatButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<!-- ScrollBar -->
<SolidColorBrush x:Key="ScrollBarButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ScrollBarPanningBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarThumbBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ScrollBarTrackBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarTrackBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<!-- SemanticZoom -->
<SolidColorBrush x:Key="SemanticZoomButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Slider -->
<SolidColorBrush x:Key="SliderThumbBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderTickMarkInlineBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="SliderTickMarkInlineDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="SliderTickmarkOutsideBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="SliderTickMarkOutsideDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="SliderTrackDecreaseBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackDecreasePointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackDecreasePressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SliderTrackPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Text Box -->
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="{ThemeResource TextBoxBackgroundColor}" />
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="{ThemeResource TextBoxBorderColor}" />
<SolidColorBrush x:Key="TextBoxButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="TextBoxButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="TextBoxButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="TextBoxButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="TextBoxButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowSolidColor}" />
<SolidColorBrush x:Key="TextBoxDisabledHeaderForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="TextBoxForegroundHeaderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="{ThemeResource TextBoxForegroundColor}" />
<SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="{ThemeResource TextBoxPlaceholderColor}" />
<!--Thumb -->
<SolidColorBrush x:Key="ThumbBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Time Picker -->
<SolidColorBrush x:Key="TimePickerForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- ToggleButton -->
<SolidColorBrush x:Key="ToggleButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidSolidColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchHeaderDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleSwitchHeaderForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleSwitchOuterBorderBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchOuterBorderDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbBorderThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidSolidColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBorderThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Misc -->
<SolidColorBrush x:Key="LoopingSelectorSelectionBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="LoopingSelectorSelectionForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
</ResourceDictionary>
<ResourceDictionary x:Key="HighContrastBlack">
<!-- Even though PhoneBaseBlackColor and PhoneBaseWhiteColor do not vary with themes, they should not be moved
because other resources reference them using the ThemeResource markup. -->
<Color x:Key="PhoneBaseBlackColor">#FF000000</Color>
<Color x:Key="PhoneBaseWhiteColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBackgroundColor">#FF000000</Color>
<Color x:Key="PhoneDisabledColor">#66FFFFFF</Color>
<Color x:Key="PhoneForegroundColor">#FFFFFFFF</Color>
<Color x:Key="PhonePageBackgroundColor">#FF000000</Color>
<Color x:Key="PhoneTextHighColor">#FFFFFFFF</Color>
<Color x:Key="PhoneTextMidColor">#FFFFFFFF</Color>
<Color x:Key="PhoneTextLowColor">#73FFFFFF</Color>
<Color x:Key="PhoneTextOverAccentColor">#FF000000</Color>
<Color x:Key="PhoneBaseHighColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBaseMediumHighColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBaseMidColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBaseMediumMidColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBaseMediumMidSolidColor">#FF666666</Color>
<Color x:Key="PhoneBaseLowColor">#73FFFFFF</Color>
<Color x:Key="PhoneBaseLowSolidColor">#FF747474</Color>
<Color x:Key="PhoneImagePlaceholderColor">#FFFFFFFF</Color>
<Color x:Key="PhoneChromeColor">#FF1F1F1F</Color>
<Color x:Key="PhoneControlBackgroundColor">#FFFFFFFF</Color>
<Color x:Key="PhoneControlDisabledColor">#FFFFFFFF</Color>
<Color x:Key="PhoneControlForegroundColor">#FF000000</Color>
<Color x:Key="TextBoxBackgroundColor">#FF000000</Color>
<Color x:Key="TextBoxBorderColor">#FFFFFFFF</Color>
<Color x:Key="TextBoxForegroundColor">#FFFFFFFF</Color>
<Color x:Key="TextBoxPlaceholderColor">#73FFFFFF</Color>
<Color x:Key="ContentDialogDimmingColor">#99000000</Color>
<SolidColorBrush x:Key="AutoSuggestBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="DefaultTextForegroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="SliderThumbBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="SliderThumbDisabledBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="SliderThumbDisabledBorderThemeBrush" Color="#FF666666"/>
<SolidColorBrush x:Key="SliderTrackBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="SliderTrackBorderThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="SliderTrackDisabledBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="SliderTrackDisabledBorderThemeBrush" Color="#FF666666" />
<SolidColorBrush x:Key="SliderTrackDecreaseDisabledBackgroundThemeBrush" Color="#FF666666" />
<SolidColorBrush x:Key="TextBoxFocusedBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="LoopingSelectorForegroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="PhoneHighContrastSelectedForegroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="PhoneHighContrastSelectedBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="JumpListDefaultEnabledForeground" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="JumpListDefaultEnabledBackground" Color="#FF000000" />
<SolidColorBrush x:Key="JumpListDefaultDisabledForeground" Color="#FF737373" />
<SolidColorBrush x:Key="JumpListDefaultDisabledBackground" Color="#FF000000" />
<SolidColorBrush x:Key="ComboBoxHighlightedBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="ComboBoxHighlightedForegroundThemeBrush" Color="#FFFFFFFF" />
<x:Double x:Key="ComboBoxFlyoutListPlaceholderTextOpacity">1</x:Double>
<SolidColorBrush x:Key="ListPickerFlyoutPresenterSelectedItemForegroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="ListPickerFlyoutPresenterSelectedItemBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ProgressBarBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="ProgressBarHighContrastAccentBarThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Theming global brushes -->
<SolidColorBrush x:Key="PhoneAccentBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneChromeBrush" Color="{ThemeResource PhoneChromeColor}"/>
<SolidColorBrush x:Key="PhoneForegroundBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="PhoneBackgroundBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="PhoneDisabledBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="PhoneButtonBasePressedForegroundBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="PhoneMidBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="PhoneLowBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxPressedBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxCheckBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxBorderBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextSelectionHighlightColorThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Application -->
<SolidColorBrush x:Key="ApplicationForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ApplicationHeaderForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ApplicationPageBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ApplicationPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ApplicationPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ApplicationSecondaryForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<!-- Pivot -->
<SolidColorBrush x:Key="PivotHeaderBackgroundSelectedBrush" Color="{ThemeResource PhoneControlBackgroundColor}" />
<SolidColorBrush x:Key="PivotHeaderForegroundSelectedBrush" Color="{ThemeResource PhoneControlForegroundColor}" />
<SolidColorBrush x:Key="PivotHeaderForegroundUnselectedBrush" Color="{ThemeResource PhoneControlDisabledColor}" />
<!-- ContentDialog -->
<SolidColorBrush x:Key="ContentDialogDimmingThemeBrush" Color="{ThemeResource ContentDialogDimmingColor}" />
<SolidColorBrush x:Key="ContentDialogBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<!-- Flyout -->
<SolidColorBrush x:Key="FlyoutBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}"/>
<SolidColorBrush x:Key="MenuFlyoutBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="MenuFlyoutBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MenuFlyoutItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<!-- FocusVisual -->
<SolidColorBrush x:Key="FocusVisualBlackStrokeThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="FocusVisualWhiteStrokeThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<!-- Application Bar -->
<SolidColorBrush x:Key="AppBarBackgroundThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="AppBarBorderThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="AppBarItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="AppBarItemForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="AppBarItemPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarItemPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarSeparatorForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- BackButton -->
<SolidColorBrush x:Key="BackButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="BackButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="BackButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="BackButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="BackButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Button -->
<SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="ButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- CheckBox -->
<SolidColorBrush x:Key="CheckBoxBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxContentDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxContentForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="CheckBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="CheckBoxPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<!-- ComboBox -->
<SolidColorBrush x:Key="ComboBoxBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ComboBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ComboBoxHighlightedBorderThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxInlinePlaceholderTextForegroundThemeBrush" Color="{ThemeResource PhoneTextMidColor}" />
<SolidColorBrush x:Key="ComboBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ComboBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxPlaceholderTextForegroundThemeBrush" Color="{ThemeResource PhoneTextLowColor}" />
<SolidColorBrush x:Key="ComboBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<!-- Command Bar -->
<SolidColorBrush x:Key="CommandBarBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<SolidColorBrush x:Key="CommandBarForegroundThemeBrush" Color="{ThemeResource PhoneTextHighColor}" />
<!-- Date Picker -->
<SolidColorBrush x:Key="DatePickerForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- FlipViewButton -->
<SolidColorBrush x:Key="FlipViewButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="FlipViewButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Hyperlink -->
<SolidColorBrush x:Key="HyperlinkDisabledThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="HyperlinkForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="HyperlinkPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="HyperlinkPressedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ListBox -->
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ListView -->
<SolidColorBrush x:Key="ListViewGroupHeaderForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewGroupHeaderPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListViewGroupHeaderPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ListViewItemCheckHintThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemCheckSelectingThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemCheckThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="ListViewItemDragBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemDragForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemFocusBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemOverlayBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListViewItemOverlayForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemOverlaySecondaryForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="GridViewItemPlaceholderBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<SolidColorBrush x:Key="ListViewItemPlaceholderBackgroundThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="ListViewItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Media -->
<SolidColorBrush x:Key="MediaButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MediaButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="MediaButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MediaButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="MediaButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="MediaButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="MediaControlPanelAudioThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="MediaDownloadProgressIndicatorThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="MediaErrorBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="MediaTextThemeBrush" Color="{ThemeResource PhoneTextHighColor}" />
<!-- ProgressBar -->
<SolidColorBrush x:Key="ProgressBarForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ProgressBarIndeterminateForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ProgressRing -->
<SolidColorBrush x:Key="ProgressRingTextForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}"/>
<!-- RadioButton -->
<SolidColorBrush x:Key="RadioButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonContentDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonContentForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="RadioButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="RadioButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<!-- RepeatButton -->
<SolidColorBrush x:Key="RepeatButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RepeatButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RepeatButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="RepeatButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<!-- ScrollBar -->
<SolidColorBrush x:Key="ScrollBarButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ScrollBarPanningBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarThumbBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ScrollBarTrackBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarTrackBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<!-- SemanticZoom -->
<SolidColorBrush x:Key="SemanticZoomButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Slider -->
<SolidColorBrush x:Key="SliderThumbBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderTickMarkInlineBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="SliderTickMarkInlineDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="SliderTickmarkOutsideBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="SliderTickMarkOutsideDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="SliderTrackDecreaseBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackDecreasePointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackDecreasePressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SliderTrackPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Text Box -->
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="{ThemeResource TextBoxBackgroundColor}" />
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="{ThemeResource TextBoxBorderColor}" />
<SolidColorBrush x:Key="TextBoxButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="TextBoxButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="TextBoxButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="TextBoxButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="TextBoxButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowSolidColor}" />
<SolidColorBrush x:Key="TextBoxDisabledHeaderForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="TextBoxForegroundHeaderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="{ThemeResource TextBoxForegroundColor}" />
<SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="{ThemeResource TextBoxPlaceholderColor}" />
<!--Thumb -->
<SolidColorBrush x:Key="ThumbBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Time Picker -->
<SolidColorBrush x:Key="TimePickerForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- ToggleButton -->
<SolidColorBrush x:Key="ToggleButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidSolidColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchHeaderDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleSwitchHeaderForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleSwitchOuterBorderBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchOuterBorderDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbBorderThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidSolidColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBorderThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Misc -->
<SolidColorBrush x:Key="LoopingSelectorSelectionBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="LoopingSelectorSelectionForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
</ResourceDictionary>
<ResourceDictionary x:Key="HighContrastWhite">
<!-- Even though PhoneBaseBlackColor and PhoneBaseWhiteColor do not vary with themes, they should not be moved
because other resources reference them using the ThemeResource markup. -->
<Color x:Key="PhoneBaseBlackColor">#FF000000</Color>
<Color x:Key="PhoneBaseWhiteColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBackgroundColor">#FFFFFFFF</Color>
<Color x:Key="PhoneDisabledColor">#66000000</Color>
<Color x:Key="PhoneForegroundColor">#FF000000</Color>
<Color x:Key="PhonePageBackgroundColor">#FFFFFFFF</Color>
<Color x:Key="PhoneTextHighColor">#FF000000</Color>
<Color x:Key="PhoneTextMidColor">#FF000000</Color>
<Color x:Key="PhoneTextLowColor">#40000000</Color>
<Color x:Key="PhoneBaseLowSolidColor">#FFBFBFBF</Color>
<Color x:Key="PhoneTextOverAccentColor">#FFFFFFFF</Color>
<Color x:Key="PhoneBaseHighColor">#FF000000</Color>
<Color x:Key="PhoneBaseMediumHighColor">#FF000000</Color>
<Color x:Key="PhoneBaseMidColor">#FF000000</Color>
<Color x:Key="PhoneBaseMediumMidColor">#FF000000</Color>
<Color x:Key="PhoneBaseMediumMidSolidColor">#FFCCCCCC</Color>
<Color x:Key="PhoneBaseLowColor">#40000000</Color>
<Color x:Key="PhoneImagePlaceholderColor">#FF000000</Color>
<Color x:Key="PhoneChromeColor">#FFDDDDDD</Color>
<Color x:Key="PhoneControlBackgroundColor">#FF000000</Color>
<Color x:Key="PhoneControlDisabledColor">#FF000000</Color>
<Color x:Key="PhoneControlForegroundColor">#FFFFFFFF</Color>
<Color x:Key="TextBoxBackgroundColor">#FFFFFFFF</Color>
<Color x:Key="TextBoxBorderColor">#FF000000</Color>
<Color x:Key="TextBoxForegroundColor">#FF000000</Color>
<Color x:Key="TextBoxPlaceholderColor">#FF909090</Color>
<Color x:Key="ContentDialogDimmingColor">#99FFFFFF</Color>
<SolidColorBrush x:Key="AutoSuggestBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="DefaultTextForegroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="SliderThumbBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="SliderThumbDisabledBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="SliderThumbDisabledBorderThemeBrush" Color="#FFBDBDBD"/>
<SolidColorBrush x:Key="SliderTrackBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="SliderTrackBorderThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="SliderTrackDisabledBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="SliderTrackDisabledBorderThemeBrush" Color="#FFBDBDBD" />
<SolidColorBrush x:Key="SliderTrackDecreaseDisabledBackgroundThemeBrush" Color="#FFBDBDBD" />
<SolidColorBrush x:Key="TextBoxFocusedBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="LoopingSelectorForegroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="PhoneHighContrastSelectedForegroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="PhoneHighContrastSelectedBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="JumpListDefaultEnabledForeground" Color="#FF000000" />
<SolidColorBrush x:Key="JumpListDefaultEnabledBackground" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="JumpListDefaultDisabledForeground" Color="#FFBDBDBD" />
<SolidColorBrush x:Key="JumpListDefaultDisabledBackground" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ComboBoxHighlightedBackgroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ComboBoxHighlightedForegroundThemeBrush" Color="#FF000000" />
<x:Double x:Key="ComboBoxFlyoutListPlaceholderTextOpacity">1</x:Double>
<SolidColorBrush x:Key="ListPickerFlyoutPresenterSelectedItemForegroundThemeBrush" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ListPickerFlyoutPresenterSelectedItemBackgroundThemeBrush" Color="#FF000000" />
<SolidColorBrush x:Key="ProgressBarBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="ProgressBarHighContrastAccentBarThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Theming global brushes -->
<SolidColorBrush x:Key="PhoneAccentBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneChromeBrush" Color="{ThemeResource PhoneChromeColor}"/>
<SolidColorBrush x:Key="PhoneForegroundBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="PhoneBackgroundBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="PhoneDisabledBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="PhoneButtonBasePressedForegroundBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="PhoneMidBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="PhoneLowBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxPressedBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxCheckBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="PhoneRadioCheckBoxBorderBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextSelectionHighlightColorThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Application -->
<SolidColorBrush x:Key="ApplicationForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ApplicationHeaderForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ApplicationPageBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ApplicationPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ApplicationPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ApplicationSecondaryForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<!-- Pivot -->
<SolidColorBrush x:Key="PivotHeaderBackgroundSelectedBrush" Color="{ThemeResource PhoneControlBackgroundColor}" />
<SolidColorBrush x:Key="PivotHeaderForegroundSelectedBrush" Color="{ThemeResource PhoneControlForegroundColor}" />
<SolidColorBrush x:Key="PivotHeaderForegroundUnselectedBrush" Color="{ThemeResource PhoneControlDisabledColor}" />
<!-- ContentDialog -->
<SolidColorBrush x:Key="ContentDialogDimmingThemeBrush" Color="{ThemeResource ContentDialogDimmingColor}" />
<SolidColorBrush x:Key="ContentDialogBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<!-- Flyout -->
<SolidColorBrush x:Key="FlyoutBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}"/>
<SolidColorBrush x:Key="MenuFlyoutBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="MenuFlyoutBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MenuFlyoutItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<!-- FocusVisual -->
<SolidColorBrush x:Key="FocusVisualBlackStrokeThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="FocusVisualWhiteStrokeThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<!-- Application Bar -->
<SolidColorBrush x:Key="AppBarBackgroundThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="AppBarBorderThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="AppBarItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="AppBarItemForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="AppBarItemPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarItemPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarSeparatorForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- BackButton -->
<SolidColorBrush x:Key="BackButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="BackButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="BackButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="BackButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="BackButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Button -->
<SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="ButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- CheckBox -->
<SolidColorBrush x:Key="CheckBoxBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxContentDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxContentForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="CheckBoxForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="CheckBoxPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="CheckBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="CheckBoxPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="CheckBoxPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<!-- ComboBox -->
<SolidColorBrush x:Key="ComboBoxBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ComboBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ComboBoxHighlightedBorderThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxInlinePlaceholderTextForegroundThemeBrush" Color="{ThemeResource PhoneTextMidColor}" />
<SolidColorBrush x:Key="ComboBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ComboBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxPlaceholderTextForegroundThemeBrush" Color="{ThemeResource PhoneTextLowColor}" />
<SolidColorBrush x:Key="ComboBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ComboBoxPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ComboBoxPressedForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<!-- Command Bar -->
<SolidColorBrush x:Key="CommandBarBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<SolidColorBrush x:Key="CommandBarForegroundThemeBrush" Color="{ThemeResource PhoneTextHighColor}" />
<!-- Date Picker -->
<SolidColorBrush x:Key="DatePickerForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- FlipViewButton -->
<SolidColorBrush x:Key="FlipViewButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="FlipViewButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="FlipViewButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Hyperlink -->
<SolidColorBrush x:Key="HyperlinkDisabledThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="HyperlinkForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="HyperlinkPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="HyperlinkPressedForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ListBox -->
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ListView -->
<SolidColorBrush x:Key="ListViewGroupHeaderForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewGroupHeaderPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ListViewGroupHeaderPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ListViewItemCheckHintThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemCheckSelectingThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemCheckThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
<SolidColorBrush x:Key="ListViewItemDragBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemDragForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemFocusBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemOverlayBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListViewItemOverlayForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemOverlaySecondaryForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="GridViewItemPlaceholderBackgroundThemeBrush" Color="{ThemeResource PhoneChromeColor}" />
<SolidColorBrush x:Key="ListViewItemPlaceholderBackgroundThemeBrush" Color="{ThemeResource PhonePageBackgroundColor}" />
<SolidColorBrush x:Key="ListViewItemPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- Media -->
<SolidColorBrush x:Key="MediaButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MediaButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="MediaButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="MediaButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="MediaButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="MediaButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseWhiteColor}" />
<SolidColorBrush x:Key="MediaControlPanelAudioThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="MediaDownloadProgressIndicatorThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="MediaErrorBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="MediaTextThemeBrush" Color="{ThemeResource PhoneTextHighColor}" />
<!-- ProgressBar -->
<SolidColorBrush x:Key="ProgressBarForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ProgressBarIndeterminateForegroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<!-- ProgressRing -->
<SolidColorBrush x:Key="ProgressRingTextForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}"/>
<!-- RadioButton -->
<SolidColorBrush x:Key="RadioButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonContentDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonContentForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RadioButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="RadioButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="RadioButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="RadioButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RadioButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<!-- RepeatButton -->
<SolidColorBrush x:Key="RepeatButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RepeatButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="RepeatButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="RepeatButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="RepeatButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<!-- ScrollBar -->
<SolidColorBrush x:Key="ScrollBarButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ScrollBarPanningBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarThumbBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ScrollBarThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ScrollBarTrackBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ScrollBarTrackBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<!-- SemanticZoom -->
<SolidColorBrush x:Key="SemanticZoomButtonBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SemanticZoomButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- Slider -->
<SolidColorBrush x:Key="SliderThumbBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="SliderTickMarkInlineBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="SliderTickMarkInlineDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="SliderTickmarkOutsideBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="SliderTickMarkOutsideDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="SliderTrackDecreaseBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackDecreasePointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackDecreasePressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="SliderTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="SliderTrackPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Text Box -->
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="{ThemeResource TextBoxBackgroundColor}" />
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="{ThemeResource TextBoxBorderColor}" />
<SolidColorBrush x:Key="TextBoxButtonForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="TextBoxButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="TextBoxButtonPointerOverForegroundThemeBrush" Color="{ThemeResource PhoneBaseBlackColor}" />
<SolidColorBrush x:Key="TextBoxButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="TextBoxButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowSolidColor}" />
<SolidColorBrush x:Key="TextBoxDisabledHeaderForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="TextBoxForegroundHeaderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="{ThemeResource TextBoxForegroundColor}" />
<SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="{ThemeResource TextBoxPlaceholderColor}" />
<!--Thumb -->
<SolidColorBrush x:Key="ThumbBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumHighColor}" />
<SolidColorBrush x:Key="ThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ThumbPressedBorderThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Time Picker -->
<SolidColorBrush x:Key="TimePickerForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<!-- ToggleButton -->
<SolidColorBrush x:Key="ToggleButtonBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonDisabledBorderThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleButtonForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleButtonPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleButtonPressedForegroundThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidSolidColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchCurtainPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="ToggleSwitchDisabledForegroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchHeaderDisabledForegroundThemeBrush" Color="{ThemeResource PhoneDisabledColor}" />
<SolidColorBrush x:Key="ToggleSwitchHeaderForegroundThemeBrush" Color="{ThemeResource PhoneBaseMidColor}" />
<SolidColorBrush x:Key="ToggleSwitchOuterBorderBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchOuterBorderDisabledBorderThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbBorderThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidSolidColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBorderThemeBrush" Color="{ThemeResource PhoneBackgroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBorderThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPressedBackgroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchThumbPressedForegroundThemeBrush" Color="{ThemeResource PhoneForegroundColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackDisabledBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource PhoneBaseLowColor}" />
<SolidColorBrush x:Key="ToggleSwitchTrackPressedBackgroundThemeBrush" Color="{ThemeResource PhoneBaseMediumMidColor}" />
<!-- Misc -->
<SolidColorBrush x:Key="LoopingSelectorSelectionBackgroundThemeBrush" Color="{ThemeResource SystemColorControlAccentColor}" />
<SolidColorBrush x:Key="LoopingSelectorSelectionForegroundThemeBrush" Color="{ThemeResource PhoneTextOverAccentColor}" />
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
<!-- COMMON THEME RESOURCES -->
<!-- Non theming colors -->
<Color x:Key="MediaControlPanelVideoThemeColor">#4D000000</Color>
<Color x:Key="MediaControlTimeRowThemeColor">#73000000</Color>
<!-- Theming global brushes -->
<SolidColorBrush x:Key="PhoneRadioCheckBoxBrush" Color="Transparent" />
<!-- Global font family -->
<FontFamily x:Key="PhoneFontFamilyNormal">Segoe WP</FontFamily>
<FontFamily x:Key="PhoneFontFamilyLight">Segoe WP Light</FontFamily>
<FontFamily x:Key="PhoneFontFamilySemiLight">Segoe WP SemiLight</FontFamily>
<FontFamily x:Key="PhoneFontFamilySemiBold">Segoe WP Semibold</FontFamily>
<FontFamily x:Key="ContentControlThemeFontFamily">Segoe WP</FontFamily>
<!-- Global Font Size -->
<x:Double x:Key="TextStyleSmallFontSize">10.66</x:Double>
<x:Double x:Key="TextStyleMediumFontSize">16</x:Double>
<x:Double x:Key="TextStyleLargeFontSize">18.14</x:Double>
<x:Double x:Key="TextStyleExtraLargeFontSize">25.5</x:Double>
<x:Double x:Key="TextStyleExtraLargePlusFontSize">29.86</x:Double>
<x:Double x:Key="TextStyleExtraExtraLargeFontSize">34.14</x:Double>
<x:Double x:Key="ContentControlFontSize">20.26</x:Double>
<!-- Global TextControl -->
<x:Double x:Key="TextControlBackgroundThemeOpacity">0.8</x:Double>
<x:Double x:Key="TextControlBorderThemeOpacity">0.8</x:Double>
<x:Double x:Key="TextControlPointerOverBackgroundThemeOpacity">0.87</x:Double>
<x:Double x:Key="TextControlPointerOverBorderThemeOpacity">0.87</x:Double>
<x:Double x:Key="TextControlThemeMinHeight">34</x:Double>
<x:Double x:Key="TextControlThemeMinWidth">51</x:Double>
<x:Double x:Key="TextControlHeaderMinHeightSize">9.5</x:Double>
<Thickness x:Key="TextControlMarginThemeThickness">0,9.5,0,9.5</Thickness>
<Thickness x:Key="TextControlHeaderMarginThemeThickness">0,0,0,4.8</Thickness>
<Thickness x:Key="TextControlBorderThemeThickness">2.5</Thickness>
<Thickness x:Key="TextControlThemePadding">7,0.8,8,0</Thickness>
<Thickness x:Key="TextControlPlaceholderThemePadding">9.5,2.5,8,4</Thickness>
<!-- Global Phone values -->
<FontWeight x:Key="PhoneButtonFontWeight">Semibold</FontWeight>
<Thickness x:Key="PhoneBorderThickness">2.5</Thickness>
<Thickness x:Key="PhoneTouchTargetOverhang">0,9.5</Thickness>
<Thickness x:Key="PhoneTouchTargetLargeOverhang">0,16</Thickness>
<Thickness x:Key="PhoneButtonContentPadding">9.5,0,9.5,3.5</Thickness>
<x:Double x:Key="PhoneStrokeThickness">2.5</x:Double>
<x:Double x:Key="PhoneButtonMinWidth">109</x:Double>
<x:Double x:Key="PhoneButtonMinHeight">57.5</x:Double>
<!-- Pivot -->
<x:Double x:Key="PivotHeaderItemFontSize">57</x:Double>
<x:Int32 x:Key="PivotHeaderItemCharacterSpacing">-25</x:Int32>
<FontFamily x:Key="PivotHeaderItemFontFamily">Segoe WP SemiLight</FontFamily>
<Thickness x:Key="PivotHeaderItemPadding">0,0,0,6.5</Thickness>
<Thickness x:Key="PivotHeaderItemMargin">16,-6.5,0,0</Thickness>
<x:Double x:Key="PhonePivotLockedTranslation">40</x:Double>
<x:Double x:Key="PhonePivotUnselectedItemOpacity">0.4</x:Double>
<Thickness x:Key="PivotItemMargin">19,22.5,19,0</Thickness>
<SolidColorBrush x:Key="PivotHeaderBackgroundUnselectedBrush" Color="Transparent" />
<Thickness x:Key="PivotLandscapeThemePadding">19,25,0,0</Thickness>
<Thickness x:Key="PivotPortraitThemePadding">19,38,0,0</Thickness>
<!-- ContentDialog -->
<x:Double x:Key="ContentDialogTitleMinHeight">19</x:Double>
<x:Double x:Key="ContentDialogContentMinHeight">35</x:Double>
<x:Double x:Key="ContentDialogButtonsMinHeight">45</x:Double>
<x:Double x:Key="ContentDialogContentLandscapeWidth">400</x:Double>
<Thickness x:Key="ContentDialogTitleMargin">19,33.5,19,0</Thickness>
<Thickness x:Key="ContentDialogContentMargin">19,16.5,19,0</Thickness>
<Thickness x:Key="ContentDialogButton1HostPadding">19,24,9.5,9.5</Thickness>
<Thickness x:Key="ContentDialogButton2HostPadding">9.5,24,19,9.5</Thickness>
<!-- Flyout -->
<x:Double x:Key="FlyoutThemeMinHeight">43</x:Double>
<x:Double x:Key="ListPickerFlyoutFooterThemeHeight">80</x:Double>
<Thickness x:Key="PickerFlyoutTitleThemeMargin">0,0,0,32.5</Thickness>
<Thickness x:Key="FlyoutContentThemeMargin">0,0,0,0</Thickness>
<Thickness x:Key="FlyoutContentPanelLandscapeThemeMargin">0,0,0,0</Thickness>
<Thickness x:Key="FlyoutContentPanelPortraitThemeMargin">0,25.5,0,0</Thickness>
<Thickness x:Key="PickerFlyoutContentPanelLandscapeThemeMargin">19,19,19,0</Thickness>
<Thickness x:Key="PickerFlyoutContentPanelPortraitThemeMargin">19,37,19,0</Thickness>
<Thickness x:Key="DateTimeFlyoutContentPanelPortraitThemeMargin">0,37,0,0</Thickness>
<Thickness x:Key="DateTimeFlyoutContentPanelLandscapeThemeMargin">0,19,0,0</Thickness>
<Thickness x:Key="DateTimeFlyoutTitleThemeMargin">19,0,19,17.5</Thickness>
<Thickness x:Key="MenuFlyoutLeftLandscapeBorderThemeThickness">0,0,1.5,0</Thickness>
<Thickness x:Key="MenuFlyoutRightLandscapeBorderThemeThickness">1.5,0,0,0</Thickness>
<Thickness x:Key="MenuFlyoutPortraitBorderThemeThickness">0,1.5</Thickness>
<Thickness x:Key="MenuFlyoutLandscapeThemePadding">19,59.5,0,65</Thickness>
<Thickness x:Key="MenuFlyoutPortraitThemePadding">19,13.5,0,26</Thickness>
<Thickness x:Key="MenuFlyoutItemThemePadding">0,8.5</Thickness>
<!-- CONTROL SPECIFIC -->
<!-- Application Bar -->
<x:Double x:Key="AppBarThemeMinHeight">54.5</x:Double>
<Thickness x:Key="AppBarBottomBorderThemeThickness">0,1.5,0,0</Thickness>
<Thickness x:Key="AppBarBottomThemePadding">0,0,0,1.5</Thickness>
<Thickness x:Key="AppBarTopBorderThemeThickness">0,0,0,1.5</Thickness>
<Thickness x:Key="AppBarTopThemePadding">0,1.5,0,0</Thickness>
<SolidColorBrush x:Key="AppBarItemBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBorderThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBackgroundThemeBrush" Color="Transparent" />
<!-- AutoSuggest -->
<Thickness x:Key="AutoSuggestListViewItemMargin">6.5,9.5,0,0</Thickness>
<!-- BackButton -->
<SolidColorBrush x:Key="BackButtonBackgroundThemeBrush" Color="Transparent" />
<!-- Button -->
<Thickness x:Key="ButtonBorderThemeThickness">1.5</Thickness>
<SolidColorBrush x:Key="ButtonBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="ButtonDisabledBackgroundThemeBrush" Color="Transparent" />
<!-- CheckBox -->
<x:Double x:Key="CheckBoxBorderThemeThickness">2.5</x:Double>
<SolidColorBrush x:Key="CheckBoxBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="CheckBoxDisabledBackgroundThemeBrush" Color="Transparent" />
<!-- ComboBox -->
<Thickness x:Key="ComboBoxBorderThemeThickness">2.5</Thickness>
<Thickness x:Key="ComboBoxPlaceholderTextThemeMargin">6.5,0.8</Thickness>
<Thickness x:Key="ComboBoxFlyoutListPlaceholderTextThemeMargin">0,2.5</Thickness>
<FontWeight x:Key="ComboBoxInlinePlaceholderTextThemeFontWeight">Light</FontWeight>
<FontWeight x:Key="ComboBoxPlaceholderTextThemeFontWeight">SemiLight</FontWeight>
<SolidColorBrush x:Key="ComboBoxBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="ComboBoxDisabledBackgroundThemeBrush" Color="Transparent" />
<Thickness x:Key="ComboBoxItemHighContrastBackgroundThemeMargin">0,0,0,3.5</Thickness>
<x:Double x:Key="ComboBoxItemMinHeightThemeSize">33.5</x:Double>
<x:Double x:Key="ComboBoxItemDisabledThemeOpacity">0.4</x:Double>
<!-- Date Picker -->
<x:Double x:Key="DatePickerSelectorThemeMinWidth">64</x:Double>
<x:Double x:Key="DatePickerSpacingThemeWidth">16</x:Double>
<x:Double x:Key="DatePickerSpacingThemeHeight">16</x:Double>
<!-- FlipViewButton -->
<Thickness x:Key="FlipViewButtonBorderThemeThickness">0.8</Thickness>
<!-- Hub -->
<x:Int32 x:Key="HubHeaderCharacterSpacing">-22</x:Int32>
<x:Int32 x:Key="HubSectionHeaderCharacterSpacing">-10</x:Int32>
<x:Double x:Key="HubHeaderFontSize">78</x:Double>
<x:Double x:Key="HubSectionHeaderFontSize">19</x:Double>
<Thickness x:Key="HubHeaderMarginThickness">15,1,0,0</Thickness>
<Thickness x:Key="HubSectionHeaderMarginThickness">-1,5,0,31.5</Thickness>
<Thickness x:Key="HubSectionMarginThickness">19,0,0,0</Thickness>
<!-- Hyperlink -->
<Thickness x:Key="HyperlinkButtonBorderThemeThickness">0</Thickness>
<SolidColorBrush x:Key="HyperlinkButtonBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="HyperlinkButtonBorderThemeBrush" Color="Transparent" />
<!-- ListBox -->
<Thickness x:Key="ListBoxBorderThemeThickness">1.5</Thickness>
<SolidColorBrush x:Key="ListBoxBorderThemeBrush" Color="Transparent" />
<!-- ListView -->
<x:Double x:Key="ListViewItemDisabledThemeOpacity">0.4</x:Double>
<x:Double x:Key="ListViewItemDragThemeOpacity">0.60</x:Double>
<x:Double x:Key="ListViewItemReorderHintThemeOffset">32</x:Double>
<x:Double x:Key="ListViewItemSelectedBorderThemeThickness">3</x:Double>
<!-- Check-box vertical position, provides alignment control with content -->
<Thickness x:Key="ListViewItemMultiselectCheckBoxMargin">0,9.5,0,0</Thickness>
<Thickness x:Key="ListPickerFlyoutPresenterMultiselectCheckBoxMargin">0,9.5,0,0</Thickness>
<Thickness x:Key="ListPickerFlyoutPresenterItemMargin">0,0,0,19</Thickness>
<Thickness x:Key="GridViewItemMultiselectBorderThickness">2.5</Thickness>
<!-- Provides items margin control -->
<Thickness x:Key="ListViewItemMargin">0</Thickness>
<Thickness x:Key="GridViewItemMargin">0</Thickness>
<!-- Value needed for content translation maintains margin between the check-box and content -->
<x:Double x:Key="ListViewItemContentTranslateX">40.5</x:Double>
<x:Double x:Key="ListViewItemContentOffsetX">-40.5</x:Double>
<!-- Media -->
<SolidColorBrush x:Key="MediaButtonBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="MediaControlPanelPhoneVideoThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="MediaControlPanelVideoThemeBrush" Color="{StaticResource MediaControlPanelVideoThemeColor}" />
<SolidColorBrush x:Key="MediaControlPlayPauseThemeBrush" Color="{StaticResource MediaControlPanelVideoThemeColor}" />
<SolidColorBrush x:Key="MediaControlTimeRowThemeBrush" Color="{StaticResource MediaControlTimeRowThemeColor}" />
<!-- PasswordBox -->
<Thickness x:Key="PasswordBoxCheckBoxThemeMargin">0,-6.5,0,0</Thickness>
<!-- ProgressBar -->
<x:Double x:Key="ProgressBarThemeMinHeight">3.5</x:Double>
<x:Double x:Key="ProgressBarIndeterminateRectagleThemeSize">3.5</x:Double>
<Thickness x:Key="ProgressBarBorderThemeThickness">0</Thickness>
<SolidColorBrush x:Key="ProgressBarBorderThemeBrush" Color="Transparent" />
<!-- ProgressRing -->
<x:Double x:Key="ProgressRingThemeSize">57.5</x:Double>
<x:Double x:Key="ProgressRingElipseThemeSize">6.5</x:Double>
<Thickness x:Key="ProgressRingElipseThemeMargin">7.5</Thickness>
<Thickness x:Key="ProgressRingTextThemeMargin">0,16.5,0,0</Thickness>
<x:Double x:Key="ProgressRingActiveBackgroundOpacity">0.8</x:Double>
<!-- RadioButton -->
<x:Double x:Key="RadioButtonBorderThemeThickness">0</x:Double>
<!-- RepeatButton -->
<Thickness x:Key="RepeatButtonBorderThemeThickness">1.5</Thickness>
<SolidColorBrush x:Key="RepeatButtonDisabledBackgroundThemeBrush" Color="Transparent" />
<!-- RichEditBox -->
<Thickness x:Key="RichEditBoxTextThemeMargin">2.5,2.5,2.5,2.5</Thickness>
<!-- ScrollBar -->
<x:Double x:Key="ScrollBarMinThemeHeight">7</x:Double>
<x:Double x:Key="ScrollBarMinThemeWidth">7</x:Double>
<x:Double x:Key="ScrollBarPanningThumbThemeHeight">2.4</x:Double>
<x:Double x:Key="ScrollBarPanningThumbThemeWidth">2.4</x:Double>
<x:Double x:Key="ScrollBarTrackBorderThemeThickness">0</x:Double>
<!-- SemanticZoom -->
<x:Double x:Key="SemanticZoomButtonFontSize">11.73</x:Double>
<!-- Slider -->
<x:Double x:Key="SliderOutsideTickBarThemeHeight">5</x:Double>
<x:Double x:Key="SliderTrackThemeHeight">9</x:Double>
<Thickness x:Key="SliderBorderThemeThickness">0</Thickness>
<SolidColorBrush x:Key="SliderBorderThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="SliderDisabledBorderThemeBrush" Color="Transparent" />
<!-- Text Box -->
<SolidColorBrush x:Key="TextBoxButtonBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="TextBoxButtonBorderThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="TextBoxButtonPointerOverBorderThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="TextBoxButtonPressedBorderThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="TextBoxDisabledBackgroundThemeBrush" Color="Transparent" />
<!-- Time Picker -->
<x:Double x:Key="TimePickerSelectorThemeMinWidth">64</x:Double>
<Thickness x:Key="TimePickerFirstHostThemeMargin">0,0,16,0</Thickness>
<Thickness x:Key="TimePickerThirdHostThemeMargin">16,0,0,0</Thickness>
<!-- ToggleButton -->
<Thickness x:Key="ToggleButtonBorderThemeThickness">1.5</Thickness>
<SolidColorBrush x:Key="ToggleButtonBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBackgroundThemeBrush" Color="Transparent" />
<SolidColorBrush x:Key="ToggleSwitchTrackBorderThemeBrush" Color="Transparent" />
<!-- Misc -->
<Thickness x:Key="CheckBoxAndRadioButtonTextPaddingThickness">8,0,0,0</Thickness>
<x:Double x:Key="CheckBoxAndRadioButtonMinWidthSize">168</x:Double>
<x:Double x:Key="ControlContentThemeFontSize">12</x:Double>
<x:Double x:Key="GridViewItemSelectedBorderThemeThickness">3</x:Double>
<!--
*****************************************************************
Styles
*****************************************************************
-->
<!-- Default style for Windows.UI.Xaml.Controls.Page -->
<Style TargetType="Page">
<Setter Property="Transitions">
<Setter.Value>
<TransitionCollection>
<animation:NavigationThemeTransition />
</TransitionCollection>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Button -->
<Style TargetType="Button">
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderBrush" Value="{ThemeResource PhoneForegroundBrush}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneForegroundBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource PhoneBorderThickness}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontWeight" Value="{ThemeResource PhoneButtonFontWeight}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleLargeFontSize}" />
<Setter Property="Padding" Value="{ThemeResource PhoneButtonContentPadding}" />
<Setter Property="MinHeight" Value="{ThemeResource PhoneButtonMinHeight}" />
<Setter Property="MinWidth" Value="{ThemeResource PhoneButtonMinWidth}" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Grid x:Name="Grid" Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="Grid" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="PointerOver">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="Grid" />
</Storyboard>
</VisualTransition>
<VisualTransition From="PointerOver" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="Grid" />
</Storyboard>
</VisualTransition>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="Grid" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" Margin="{ThemeResource PhoneTouchTargetOverhang}">
<ContentPresenter x:Name="ContentPresenter" Foreground="{TemplateBinding Foreground}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}"
Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
AutomationProperties.AccessibilityView="Raw"/>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.RepeatButton -->
<Style TargetType="RepeatButton">
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderBrush" Value="{ThemeResource PhoneForegroundBrush}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneForegroundBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource PhoneBorderThickness}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontWeight" Value="{ThemeResource PhoneButtonFontWeight}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleLargeFontSize}" />
<Setter Property="Padding" Value="{ThemeResource PhoneButtonContentPadding}" />
<Setter Property="MinHeight" Value="{ThemeResource PhoneButtonMinHeight}" />
<Setter Property="MinWidth" Value="{ThemeResource PhoneButtonMinWidth}" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="RepeatButton">
<Grid Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" Margin="{ThemeResource PhoneTouchTargetOverhang}">
<ContentPresenter x:Name="ContentPresenter" Foreground="{TemplateBinding Foreground}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}"
Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
AutomationProperties.AccessibilityView="Raw"/>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.ToggleButton -->
<Style TargetType="ToggleButton">
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderBrush" Value="{ThemeResource PhoneForegroundBrush}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneForegroundBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource PhoneBorderThickness}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontWeight" Value="{ThemeResource PhoneButtonFontWeight}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleLargeFontSize}" />
<Setter Property="Padding" Value="{ThemeResource PhoneButtonContentPadding}" />
<Setter Property="MinHeight" Value="{ThemeResource PhoneButtonMinHeight}" />
<Setter Property="MinWidth" Value="{ThemeResource PhoneButtonMinWidth}" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToggleButton">
<Grid Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed" />
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EnabledBackground" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledBackground" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Checked">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EnabledBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneAccentBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EnabledContent" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneButtonBasePressedForegroundBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneDisabledBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledBackground" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneDisabledBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledContent" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneBackgroundBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="CheckedPointerOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EnabledBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneAccentBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EnabledContent" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneButtonBasePressedForegroundBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneDisabledBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledBackground" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneDisabledBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledContent" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneBackgroundBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="CheckedPressed" />
<VisualState x:Name="CheckedDisabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EnabledBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneAccentBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EnabledBackground" Storyboard.TargetProperty="Opacity">
<DiscreteObjectKeyFrame KeyTime="0" Value="0.4" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EnabledContent" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneButtonBasePressedForegroundBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Indeterminate" />
<VisualState x:Name="IndeterminatePointerOver" />
<VisualState x:Name="IndeterminatePressed" />
<VisualState x:Name="IndeterminateDisabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EnabledBackground" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledBackground" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border x:Name="EnabledBackground" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}" Margin="{ThemeResource PhoneTouchTargetOverhang}">
<ContentPresenter x:Name="EnabledContent" Foreground="{TemplateBinding Foreground}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}"
Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
AutomationProperties.AccessibilityView="Raw"/>
</Border>
<Border x:Name="DisabledBackground" IsHitTestVisible="False" Background="Transparent" BorderBrush="{ThemeResource ButtonDisabledBorderThemeBrush}"
BorderThickness="{TemplateBinding BorderThickness}" Margin="{ThemeResource PhoneTouchTargetOverhang}" Visibility="Collapsed">
<ContentPresenter x:Name="DisabledContent" Foreground="{ThemeResource ButtonDisabledForegroundThemeBrush}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}"
Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
AutomationProperties.AccessibilityView="Raw"/>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.HyperlinkButton -->
<Style TargetType="HyperlinkButton">
<Setter Property="Foreground" Value="{ThemeResource HyperlinkForegroundThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource HyperlinkButtonBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource HyperlinkButtonBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource HyperlinkButtonBorderThemeThickness}" />
<Setter Property="Padding" Value="0,3,0,4" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilySemiLight}" />
<Setter Property="FontWeight" Value="SemiLight" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleExtraLargePlusFontSize}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="HyperlinkButton">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="ContentPresenter" />
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource HyperlinkDisabledThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<ContentPresenter x:Name="ContentPresenter" Content="{TemplateBinding Content}" ContentTransitions="{TemplateBinding ContentTransitions}"
ContentTemplate="{TemplateBinding ContentTemplate}" Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
AutomationProperties.AccessibilityView="Raw"/>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.AppBarButton -->
<Style TargetType="AppBarButton">
<Setter Property="Foreground" Value="{ThemeResource AppBarItemForegroundThemeBrush}" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontWeight" Value="Normal" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="AppBarButton">
<StackPanel x:Name="LayoutRoot" Width="80" Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ApplicationViewStates">
<!-- FullSize is used when we are in landscape or filled mode -->
<VisualState x:Name="FullSize" />
<!-- Compact is used when we are in portrait or snapped mode -->
<VisualState x:Name="Compact">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextLabel" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="Width">
<DiscreteObjectKeyFrame KeyTime="0" Value="48" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextLabel" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid Width="38.5" Height="38.5" Margin="0,12,0,4" HorizontalAlignment="Center">
<Ellipse x:Name="Ellipse" UseLayoutRounding="False" Width="38.5" Height="38.5" Fill="{ThemeResource AppBarItemBackgroundThemeBrush}"
Stroke="{ThemeResource AppBarItemForegroundThemeBrush}" StrokeThickness="2.5" />
<Grid x:Name="ContentRoot" Background="Transparent">
<ContentPresenter x:Name="Content" Content="{TemplateBinding Icon}" Foreground="{TemplateBinding Foreground}" HorizontalAlignment="Stretch"
VerticalAlignment="Stretch" AutomationProperties.AccessibilityView="Raw" />
</Grid>
</Grid>
<TextBlock x:Name="TextLabel" Text="{TemplateBinding Label}" Foreground="{ThemeResource AppBarItemForegroundThemeBrush}" FontSize="9.5"
FontFamily="{TemplateBinding FontFamily}" TextAlignment="Center" Width="70.5" TextWrapping="Wrap" Margin="0,0,0,10.5" />
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.AppBarToggleButton -->
<Style TargetType="AppBarToggleButton">
<Setter Property="Foreground" Value="{ThemeResource AppBarItemForegroundThemeBrush}" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontWeight" Value="Normal" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="AppBarToggleButton">
<StackPanel x:Name="LayoutRoot" Width="80" Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ApplicationViewStates">
<!-- FullSize is used when we are in landscape or filled mode -->
<VisualState x:Name="FullSize" />
<!-- Compact is used when we are in portrait or snapped mode -->
<VisualState x:Name="Compact">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextLabel" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="Width">
<DiscreteObjectKeyFrame KeyTime="0" Value="48" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextLabel" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Checked">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="CheckedPressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedPressedBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedPressedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="CheckedDisabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Ellipse" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextLabel" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid Width="38.5" Height="38.5" Margin="0,11,0,4" HorizontalAlignment="Center">
<Ellipse x:Name="Ellipse" UseLayoutRounding="False" Width="38.5" Height="38.5" Fill="{ThemeResource AppBarItemBackgroundThemeBrush}"
Stroke="{ThemeResource AppBarItemForegroundThemeBrush}" StrokeThickness="2.5" />
<Grid x:Name="ContentRoot" Background="Transparent">
<ContentPresenter x:Name="Content" Content="{TemplateBinding Icon}" Foreground="{TemplateBinding Foreground}" HorizontalAlignment="Stretch"
VerticalAlignment="Stretch" AutomationProperties.AccessibilityView="Raw" />
</Grid>
</Grid>
<TextBlock x:Name="TextLabel" Text="{TemplateBinding Label}" Foreground="{ThemeResource AppBarItemForegroundThemeBrush}" FontSize="9.5"
FontFamily="{TemplateBinding FontFamily}" TextAlignment="Center" Width="70.5" TextWrapping="Wrap" Margin="0,0,0,10.5" />
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.RadioButton -->
<Style TargetType="RadioButton">
<Setter Property="Background" Value="{ThemeResource PhoneRadioCheckBoxBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource PhoneRadioCheckBoxBorderBrush}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleLargeFontSize}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="Padding" Value="{ThemeResource CheckBoxAndRadioButtonTextPaddingThickness}" />
<Setter Property="MinWidth" Value="{ThemeResource CheckBoxAndRadioButtonMinWidthSize}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="RadioButton">
<Grid Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="MouseOver" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="Container" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckBackground" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckMark" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckBackground" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckMark" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="CheckStates">
<VisualState x:Name="Checked">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckMark" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Unchecked" />
<VisualState x:Name="Indeterminate" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="Container" Margin="{ThemeResource PhoneTouchTargetLargeOverhang}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="25.5" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid VerticalAlignment="Top">
<Ellipse x:Name="CheckBackground" IsHitTestVisible="False" VerticalAlignment="Center" HorizontalAlignment="Left"
Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{ThemeResource PhoneStrokeThickness}"
Height="25.5" Width="25.5" />
<Ellipse x:Name="CheckMark" IsHitTestVisible="False" Visibility="Collapsed" Fill="{ThemeResource PhoneRadioCheckBoxCheckBrush}" Height="12.5"
Width="12.5" HorizontalAlignment="Center" VerticalAlignment="Center" />
<TextBlock />
</Grid>
<ContentPresenter x:Name="ContentPresenter" Grid.Column="1" Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}" FontFamily="{TemplateBinding FontFamily}"
FontSize="{TemplateBinding FontSize}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}"
Foreground="{TemplateBinding Foreground}" AutomationProperties.AccessibilityView="Raw"/>
</Grid>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.CheckBox -->
<Style TargetType="CheckBox">
<Setter Property="Background" Value="{ThemeResource CheckBoxBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource CheckBoxBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource PhoneBorderThickness}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleLargeFontSize}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="Padding" Value="{ThemeResource CheckBoxAndRadioButtonTextPaddingThickness}" />
<Setter Property="MinWidth" Value="{ThemeResource CheckBoxAndRadioButtonMinWidthSize}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="CheckBox">
<Grid Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="MouseOver" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="Grid" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckBackground" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="PointerOver">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="Grid" />
</Storyboard>
</VisualTransition>
<VisualTransition From="PointerOver" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="Grid" />
</Storyboard>
</VisualTransition>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="Grid" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="CheckStates">
<VisualState x:Name="Checked">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Unchecked" />
<VisualState x:Name="Indeterminate">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="Grid" Margin="{ThemeResource PhoneTouchTargetLargeOverhang}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="25.5" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid Grid.Column="0" VerticalAlignment="Top">
<Border x:Name="CheckBackground"
IsHitTestVisible="False"
VerticalAlignment="Center"
HorizontalAlignment="Left"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Height="25.5"
Width="25.5" />
<Rectangle x:Name="NormalRectangle"
IsHitTestVisible="False"
Width="13"
Height="13"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Fill="{ThemeResource CheckBoxBackgroundThemeBrush}"
Visibility="Collapsed" />
<Path x:Name="CheckGlyph"
IsHitTestVisible="False"
Visibility="Collapsed"
Width="18.5"
Height="17"
Stretch="Fill"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Fill="{ThemeResource CheckBoxForegroundThemeBrush}"
Data="M0,123 L39,93 L124,164 L256,18 L295,49 L124,240 z"
StrokeLineJoin="Round"
StrokeThickness="2.5"
FlowDirection="LeftToRight" />
</Grid>
<ContentPresenter x:Name="ContentPresenter"
Grid.Column="1" Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Foreground="{TemplateBinding Foreground}"
FontFamily="{ThemeResource PhoneFontFamilyNormal}"
FontSize="{ThemeResource TextStyleLargeFontSize}"
FontWeight="Normal"
AutomationProperties.AccessibilityView="Raw" />
</Grid>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ContentControl -->
<Style TargetType="ContentControl">
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ContentControl">
<ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Margin="{TemplateBinding Padding}"
ContentTransitions="{TemplateBinding ContentTransitions}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ContentPresenter -->
<Style TargetType="ContentPresenter">
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Top" />
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.TextBox -->
<Style TargetType="TextBox">
<Setter Property="MinWidth" Value="{ThemeResource TextControlThemeMinWidth}" />
<Setter Property="MinHeight" Value="{ThemeResource TextControlThemeMinHeight}" />
<Setter Property="Foreground" Value="{ThemeResource TextBoxForegroundThemeBrush}" />
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource TextBoxBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource TextBoxBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource TextControlBorderThemeThickness}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource ContentControlFontSize}" />
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden" />
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" />
<Setter Property="Padding" Value="{ThemeResource TextControlThemePadding}" />
<Setter Property="Margin" Value="{ThemeResource TextControlMarginThemeThickness}" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TextBox">
<Grid Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledHeaderForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Normal">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Opacity" Duration="0"
To="{ThemeResource TextControlBorderThemeOpacity}" />
</Storyboard>
</VisualState>
<VisualState x:Name="Focused">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="PlaceholderTextContentPresenter" Storyboard.TargetProperty="Opacity" Duration="0" To="0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxFocusedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Border x:Name="BorderElement" Grid.Row="1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" />
<ContentPresenter x:Name="HeaderContentPresenter" Grid.Row="0" Style="{StaticResource HeaderContentPresenterStyle}" Margin="{ThemeResource TextControlHeaderMarginThemeThickness}"
Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" />
<ScrollViewer x:Name="ContentElement" Grid.Row="1" MinHeight="{ThemeResource TextControlThemeMinHeight}"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}" Margin="{TemplateBinding BorderThickness}"
Padding="{TemplateBinding Padding}" IsTabStop="False" ZoomMode="Disabled"
AutomationProperties.AccessibilityView="Raw"/>
<ContentControl x:Name="PlaceholderTextContentPresenter" Grid.Row="1" Foreground="{ThemeResource TextBoxPlaceholderTextThemeBrush}"
FontSize="{ThemeResource ContentControlFontSize}" Margin="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}"
IsTabStop="False" Content="{TemplateBinding PlaceholderText}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.PasswordBox -->
<Style TargetType="PasswordBox">
<Setter Property="MinWidth" Value="{ThemeResource TextControlThemeMinWidth}" />
<Setter Property="MinHeight" Value="{ThemeResource TextControlThemeMinHeight}" />
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" />
<Setter Property="Foreground" Value="{ThemeResource TextBoxForegroundThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource TextBoxBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource TextBoxBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource TextControlBorderThemeThickness}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource ContentControlFontSize}" />
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden" />
<Setter Property="Padding" Value="{ThemeResource TextControlThemePadding}"/>
<Setter Property="Margin" Value="{ThemeResource TextControlMarginThemeThickness}" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="PasswordBox">
<Grid Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledHeaderForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Normal">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Opacity" Duration="0"
To="{ThemeResource TextControlBorderThemeOpacity}" />
</Storyboard>
</VisualState>
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Focused">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="PlaceholderTextContentPresenter" Storyboard.TargetProperty="Opacity" Duration="0" To="0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxFocusedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="ButtonStates">
<VisualState x:Name="ButtonVisible">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RevealButton" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RevealButton" Storyboard.TargetProperty="IsChecked">
<DiscreteObjectKeyFrame KeyTime="0" Value="False" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="ButtonCollapsed">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RevealButton" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RevealButton" Storyboard.TargetProperty="IsChecked">
<DiscreteObjectKeyFrame KeyTime="0" Value="False" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Border x:Name="BorderElement" Grid.Row="1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" />
<ContentPresenter x:Name="HeaderContentPresenter" Grid.Row="0" Style="{StaticResource HeaderContentPresenterStyle}" Margin="{ThemeResource TextControlHeaderMarginThemeThickness}"
Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" />
<ScrollViewer x:Name="ContentElement" Grid.Row="1" MinHeight="{ThemeResource TextControlThemeMinHeight}"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}" Margin="{ThemeResource RichEditBoxTextThemeMargin}"
Padding="{TemplateBinding Padding}" IsTabStop="False" ZoomMode="Disabled"
AutomationProperties.AccessibilityView="Raw"/>
<ContentControl x:Name="PlaceholderTextContentPresenter" Grid.Row="1" Foreground="{ThemeResource TextBoxPlaceholderTextThemeBrush}"
Margin="{ThemeResource RichEditBoxTextThemeMargin}" Padding="{TemplateBinding Padding}" IsTabStop="False"
Content="{TemplateBinding PlaceholderText}" />
<CheckBox x:Name="RevealButton" Grid.Row="2" Foreground="{ThemeResource TextBoxForegroundHeaderThemeBrush}" IsTabStop="False"
VerticalAlignment="Top" HorizontalAlignment="Left" Visibility="Collapsed" Margin="{ThemeResource PasswordBoxCheckBoxThemeMargin}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for System.Windows.Controls.RichEditBox -->
<Style TargetType="RichEditBox">
<Setter Property="MinWidth" Value="{ThemeResource TextControlThemeMinWidth}" />
<Setter Property="MinHeight" Value="{ThemeResource TextControlThemeMinHeight}" />
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" />
<Setter Property="Foreground" Value="{ThemeResource TextBoxForegroundThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource TextBoxBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource TextBoxBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource TextControlBorderThemeThickness}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource ContentControlFontSize}" />
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden" />
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" />
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="Padding" Value="{ThemeResource TextControlThemePadding}" />
<Setter Property="Margin" Value="{ThemeResource TextControlMarginThemeThickness}" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="RichEditBox">
<Grid Background="Transparent">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledHeaderForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Normal">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Opacity" Duration="0"
To="{ThemeResource TextControlBorderThemeOpacity}" />
</Storyboard>
</VisualState>
<VisualState x:Name="Focused">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="PlaceholderTextContentPresenter" Storyboard.TargetProperty="Opacity" Duration="0" To="0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxFocusedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Border x:Name="BorderElement" Grid.Row="1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" />
<ContentPresenter x:Name="HeaderContentPresenter" Grid.Row="0" Style="{StaticResource HeaderContentPresenterStyle}" Margin="{ThemeResource TextControlHeaderMarginThemeThickness}"
Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" />
<ScrollViewer x:Name="ContentElement" Grid.Row="1" MinHeight="{ThemeResource TextControlThemeMinHeight}"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}" Margin="{ThemeResource RichEditBoxTextThemeMargin}"
Padding="{TemplateBinding Padding}" IsTabStop="False" ZoomMode="Disabled" AutomationProperties.AccessibilityView="Raw"/>
<ContentControl x:Name="PlaceholderTextContentPresenter" Grid.Row="1" Foreground="{ThemeResource TextBoxPlaceholderTextThemeBrush}"
Margin="{ThemeResource RichEditBoxTextThemeMargin}" Padding="{TemplateBinding Padding}" IsTabStop="False"
Content="{TemplateBinding PlaceholderText}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.Thumb -->
<Style TargetType="Thumb">
<Setter Property="Background" Value="{ThemeResource ThumbBackgroundThemeBrush}" />
<Setter Property="BorderThickness" Value="0.8" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="BorderBrush" Value="{ThemeResource ThumbBorderThemeBrush}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Thumb">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPressed" />
<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Background" />
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border x:Name="Background" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}" />
<Border x:Name="BackgroundPressed" Background="{ThemeResource ThumbPressedBackgroundThemeBrush}"
BorderBrush="{ThemeResource ThumbPressedBorderThemeBrush}" BorderThickness="{TemplateBinding BorderThickness}" Opacity="0" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.ScrollBar -->
<Style TargetType="ScrollBar">
<Setter Property="MinWidth" Value="{ThemeResource ScrollBarMinThemeWidth}" />
<Setter Property="MinHeight" Value="{ThemeResource ScrollBarMinThemeHeight}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="Transparent" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ScrollBar">
<Grid x:Name="Root">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Duration="0" To="0.5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Root" />
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="ScrollingIndicatorStates">
<VisualState x:Name="TouchIndicator">
<Storyboard>
<FadeInThemeAnimation Storyboard.TargetName="HorizontalPanningRoot" />
<FadeInThemeAnimation Storyboard.TargetName="VerticalPanningRoot" />
</Storyboard>
</VisualState>
<VisualState x:Name="MouseIndicator" />
<VisualState x:Name="NoIndicator">
<Storyboard>
<FadeOutThemeAnimation BeginTime="0" Storyboard.TargetName="HorizontalPanningRoot" />
<FadeOutThemeAnimation BeginTime="0" Storyboard.TargetName="VerticalPanningRoot" />
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="HorizontalPanningRoot" MinWidth="53">
<Rectangle x:Name="HorizontalPanningThumb"
HorizontalAlignment="Left"
Fill="{ThemeResource ScrollBarPanningBackgroundThemeBrush}"
Height="{ThemeResource ScrollBarPanningThumbThemeHeight}"
MinWidth="{ThemeResource ScrollBarMinThemeWidth}"
AutomationProperties.AccessibilityView="Raw"/>
</Grid>
<Grid x:Name="VerticalPanningRoot" MinHeight="53">
<Rectangle x:Name="VerticalPanningThumb"
VerticalAlignment="Top"
Fill="{ThemeResource ScrollBarPanningBackgroundThemeBrush}"
Width="{ThemeResource ScrollBarPanningThumbThemeWidth}"
MinHeight="{ThemeResource ScrollBarMinThemeHeight}"
AutomationProperties.AccessibilityView="Raw"/>
</Grid>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ScrollViewer -->
<Style TargetType="ScrollViewer">
<Setter Property="HorizontalScrollMode" Value="Auto" />
<Setter Property="VerticalScrollMode" Value="Auto" />
<Setter Property="IsHorizontalRailEnabled" Value="True" />
<Setter Property="IsVerticalRailEnabled" Value="True" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="ZoomMode" Value="Disabled" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="HorizontalScrollBarVisibility" Value="Disabled" />
<Setter Property="VerticalScrollBarVisibility" Value="Visible" />
<Setter Property="Padding" Value="0" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="MaxZoomFactor" Value="2" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ScrollViewer">
<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ScrollingIndicatorStates">
<VisualStateGroup.Transitions>
<VisualTransition From="TouchIndicator" To="NoIndicator">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalScrollBar" Storyboard.TargetProperty="IndicatorMode" Duration="0:0:0.1">
<DiscreteObjectKeyFrame KeyTime="0:0:0.05">
<DiscreteObjectKeyFrame.Value>
<ScrollingIndicatorMode>None</ScrollingIndicatorMode>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalScrollBar" Storyboard.TargetProperty="IndicatorMode" Duration="0:0:0.1">
<DiscreteObjectKeyFrame KeyTime="0:0:0.05">
<DiscreteObjectKeyFrame.Value>
<ScrollingIndicatorMode>None</ScrollingIndicatorMode>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
<VisualState x:Name="NoIndicator" />
<VisualState x:Name="TouchIndicator">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalScrollBar" Storyboard.TargetProperty="IndicatorMode" Duration="0:0:0.1">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<ScrollingIndicatorMode>TouchIndicator</ScrollingIndicatorMode>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalScrollBar" Storyboard.TargetProperty="IndicatorMode" Duration="0:0:0.1">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<ScrollingIndicatorMode>TouchIndicator</ScrollingIndicatorMode>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="MouseIndicator" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid Background="{TemplateBinding Background}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ScrollContentPresenter x:Name="ScrollContentPresenter" Grid.RowSpan="2" Grid.ColumnSpan="2" ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="{TemplateBinding Padding}" />
<ScrollBar x:Name="VerticalScrollBar" Grid.Column="1" IsTabStop="False" Maximum="{TemplateBinding ScrollableHeight}" Orientation="Vertical"
Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{TemplateBinding VerticalOffset}"
ViewportSize="{TemplateBinding ViewportHeight}" HorizontalAlignment="Right" />
<ScrollBar x:Name="HorizontalScrollBar" IsTabStop="False" Maximum="{TemplateBinding ScrollableWidth}" Orientation="Horizontal" Grid.Row="1"
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Value="{TemplateBinding HorizontalOffset}"
ViewportSize="{TemplateBinding ViewportWidth}" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ComboBoxItem -->
<Style TargetType="ComboBoxItem">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Padding" Value="6.5,8.5,0,16" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ComboBoxItem">
<Border Background="{TemplateBinding Background}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="ContentPresenter"/>
<PointerDownThemeAnimation Storyboard.TargetName="HighContrastBackground"/>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Opacity" To="{ThemeResource ComboBoxItemDisabledThemeOpacity}" Duration="0"/>
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="PointerOver">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="ContentPresenter" />
<PointerUpThemeAnimation Storyboard.TargetName="HighContrastBackground"/>
</Storyboard>
</VisualTransition>
<VisualTransition From="PointerOver" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="ContentPresenter" />
<PointerUpThemeAnimation Storyboard.TargetName="HighContrastBackground"/>
</Storyboard>
</VisualTransition>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="ContentPresenter" />
<PointerUpThemeAnimation Storyboard.TargetName="HighContrastBackground"/>
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="SelectionStates">
<VisualState x:Name="Unselected" />
<VisualState x:Name="Selected">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneHighContrastSelectedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HighContrastBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneHighContrastSelectedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedPressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneHighContrastSelectedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HighContrastBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneHighContrastSelectedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedPointerOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneHighContrastSelectedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HighContrastBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneHighContrastSelectedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedUnfocused">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneHighContrastSelectedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HighContrastBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneHighContrastSelectedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedDisabled" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid>
<Border x:Name="HighContrastBackground"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
Background="Transparent"
MinHeight="{ThemeResource ComboBoxItemMinHeightThemeSize}"
Margin="{ThemeResource ComboBoxItemHighContrastBackgroundThemeMargin}"/>
<ContentPresenter x:Name="ContentPresenter"
Content="{TemplateBinding Content}"
ContentTransitions="{TemplateBinding ContentTransitions}"
ContentTemplate="{TemplateBinding ContentTemplate}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Margin="{TemplateBinding Padding}" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ListBoxItem -->
<Style TargetType="ListBoxItem">
<Setter Property="Background" Value="Transparent" />
<Setter Property="TabNavigation" Value="Local" />
<Setter Property="Padding" Value="6.5,8" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListBoxItem">
<Border x:Name="LayoutRoot" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="InnerGrid" />
<DoubleAnimation Storyboard.TargetName="PressedBackground" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="InnerGrid" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="SelectionStates">
<VisualState x:Name="Unselected" />
<VisualState x:Name="Selected">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerGrid" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedUnfocused">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerGrid" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedDisabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerGrid" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedPointerOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerGrid" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedPointerOverBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedPressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerGrid" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemSelectedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="InnerGrid" Background="Transparent">
<Rectangle x:Name="PressedBackground" Fill="{ThemeResource ListBoxItemPressedBackgroundThemeBrush}" Opacity="0" />
<ContentPresenter x:Name="ContentPresenter" Content="{TemplateBinding Content}" ContentTransitions="{TemplateBinding ContentTransitions}"
ContentTemplate="{TemplateBinding ContentTemplate}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.DatePicker -->
<Style TargetType="DatePicker">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource ContentControlFontSize}" />
<Setter Property="Foreground" Value="{ThemeResource DatePickerForegroundThemeBrush}" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="DatePicker">
<StackPanel Margin="{TemplateBinding Padding}" x:Name="LayoutRoot">
<ContentPresenter x:Name="HeaderContentPresenter" Style="{StaticResource HeaderContentPresenterStyle}" Margin="0,0,0,-3"
Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" />
<Button x:Name="FlyoutButton"
Foreground="{TemplateBinding Foreground}"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding Foreground}"
BorderThickness="2.5"
Padding="6.5,0,0,3"
IsEnabled="{TemplateBinding IsEnabled}"
HorizontalAlignment="Stretch"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" />
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ComboBox -->
<Style TargetType="ComboBox">
<Setter Property="Foreground" Value="{ThemeResource ComboBoxForegroundThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource ComboBoxBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource ComboBoxBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource ComboBoxBorderThemeThickness}" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource ContentControlFontSize}" />
<Setter Property="Margin" Value="0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ComboBox">
<Grid x:Name="ComboBoxGrid">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="PlaceholderTextBlock" Storyboard.TargetProperty="Opacity" To="{ThemeResource ComboBoxFlyoutListPlaceholderTextOpacity}" Duration="0"/>
</Storyboard>
</VisualState>
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="Background"/>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxPressedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxPressedBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="UserControl" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Highlighted">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxHighlightedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxHighlightedBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="UserControl" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxHighlightedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="FlyoutButton" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="UserControl" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextBlock" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="PlaceholderTextBlock" Storyboard.TargetProperty="Opacity" To="1" Duration="0"/>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="PointerOver">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="Background" />
</Storyboard>
</VisualTransition>
<VisualTransition From="PointerOver" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="Background" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextBlock" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PhoneMidBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextBlock" Storyboard.TargetProperty="Opacity">
<DiscreteObjectKeyFrame KeyTime="0" Value="1" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualTransition>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="Background" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="DropDownStates">
<VisualState x:Name="Opened">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="ItemsPresenterHost" Storyboard.TargetProperty="Height" Duration="0:0:0.25"
From="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownClosedHeight}"
To="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownOpenedHeight}"
EnableDependentAnimation="True">
<DoubleAnimation.EasingFunction>
<ExponentialEase EasingMode="EaseInOut" Exponent="6" />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="ItemsPresenterTranslateTransform" Storyboard.TargetProperty="Y" Duration="0:0:0.25"
To="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownOffset}">
<DoubleAnimation.EasingFunction>
<ExponentialEase EasingMode="EaseInOut" Exponent="6" />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="UserControl" Storyboard.TargetProperty="IsHitTestVisible">
<DiscreteObjectKeyFrame KeyTime="0" Value="True" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxHighlightedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="UserControl" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxHighlightedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Closed">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="ItemsPresenterHost" Storyboard.TargetProperty="Height" Duration="0:0:0.2"
From="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownOpenedHeight}"
To="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownClosedHeight}"
EnableDependentAnimation="True">
<DoubleAnimation.EasingFunction>
<ExponentialEase EasingMode="EaseInOut" Exponent="6" />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="ItemsPresenterTranslateTransform" Storyboard.TargetProperty="Y" Duration="0:0:0.2"
To="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownOffset}">
<DoubleAnimation.EasingFunction>
<ExponentialEase EasingMode="EaseInOut" Exponent="6" />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="PresenterStates">
<VisualState x:Name="Full" />
<VisualState x:Name="InlineNormal">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="FlyoutButton" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ShortListOuterBorder" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="InlinePlaceholder">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="FlyoutButton" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ShortListOuterBorder" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="PlaceholderTextContentPresenter" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
<DoubleAnimation Storyboard.TargetName="ItemsPresenter" Storyboard.TargetProperty="Opacity" To="0" Duration="0" />
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ContentPresenter x:Name="HeaderContentPresenter"
HorizontalAlignment="Left"
Style="{StaticResource HeaderContentPresenterStyle}"
FlowDirection="{TemplateBinding FlowDirection}"
Visibility="Collapsed"
Content="{TemplateBinding Header}"
ContentTemplate="{TemplateBinding HeaderTemplate}"
Margin="0,0,0,-4.5"/>
<!-- Presenter for selection/placeholder text when #items is > 5 -->
<Button x:Name="FlyoutButton"
Grid.Row="1"
FlowDirection="{TemplateBinding FlowDirection}"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
FontSize="{ThemeResource ContentControlFontSize}"
FontWeight="Normal"
HorizontalAlignment="Stretch"
HorizontalContentAlignment="Left"
Padding="6.5,0,0,0"
MinHeight="{ThemeResource ComboBoxItemMinHeightThemeSize}">
<ContentPresenter x:Name="ContentPresenter" MinHeight="32.5" Margin="0,0.8,0,0">
<TextBlock x:Name="PlaceholderTextBlock"
Style="{StaticResource ComboBoxPlaceholderTextBlockStyle}"
Text="{TemplateBinding PlaceholderText}"
Margin="0"/>
</ContentPresenter>
</Button>
<!-- Presenter for selection/placeholder text when #items is <= 5-->
<Border x:Name="ShortListOuterBorder"
Grid.Row="1"
Margin="{ThemeResource PhoneTouchTargetOverhang}"
Visibility="Collapsed">
<Border x:Name="Background"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<UserControl x:Name="UserControl"
IsHitTestVisible="False"
Foreground="{TemplateBinding Foreground}"
FlowDirection="{TemplateBinding FlowDirection}">
<Canvas x:Name="ItemsPresenterHost"
MinHeight="{ThemeResource ComboBoxItemMinHeightThemeSize}"
HorizontalAlignment="Left">
<ContentPresenter x:Name="PlaceholderTextContentPresenter"
Style="{StaticResource PlaceholderContentPresenterStyle}"
Margin="{ThemeResource ComboBoxPlaceholderTextThemeMargin}"
Content="{TemplateBinding PlaceholderText}"
Opacity="0" />
<ItemsPresenter x:Name="ItemsPresenter" Margin="0,0.8,0,0">
<ItemsPresenter.RenderTransform>
<TranslateTransform x:Name="ItemsPresenterTranslateTransform" />
</ItemsPresenter.RenderTransform>
</ItemsPresenter>
</Canvas>
</UserControl>
</Border>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ListBox -->
<Style TargetType="ListBox">
<Setter Property="Foreground" Value="{ThemeResource ListBoxForegroundThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource ListBoxBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource ListBoxBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource ListBoxBorderThemeThickness}" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Disabled" />
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.ZoomMode" Value="Disabled" />
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" />
<Setter Property="ScrollViewer.BringIntoViewOnFocusChange" Value="True" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="TabNavigation" Value="Once" />
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<VirtualizingStackPanel />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListBox">
<Border x:Name="LayoutRoot" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ScrollViewer x:Name="ScrollViewer" Padding="{TemplateBinding Padding}" TabNavigation="{TemplateBinding TabNavigation}"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}" ZoomMode="{TemplateBinding ScrollViewer.ZoomMode}"
IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}"
BringIntoViewOnFocusChange="{TemplateBinding ScrollViewer.BringIntoViewOnFocusChange}"
AutomationProperties.AccessibilityView="Raw">
<ItemsPresenter />
</ScrollViewer>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ListView -->
<Style TargetType="ListView">
<Setter Property="IsTabStop" Value="False" />
<Setter Property="TabNavigation" Value="Once" />
<Setter Property="IsSwipeEnabled" Value="True" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Disabled" />
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.ZoomMode" Value="Disabled" />
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" />
<Setter Property="ScrollViewer.BringIntoViewOnFocusChange" Value="True" />
<Setter Property="ItemContainerTransitions">
<Setter.Value>
<TransitionCollection>
<AddDeleteThemeTransition />
<ReorderThemeTransition />
</TransitionCollection>
</Setter.Value>
</Setter>
<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<ItemsStackPanel Orientation="Vertical" />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListView">
<Border BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}"
BorderThickness="{TemplateBinding BorderThickness}">
<ScrollViewer x:Name="ScrollViewer" TabNavigation="{TemplateBinding TabNavigation}"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
IsHorizontalScrollChainingEnabled="{TemplateBinding ScrollViewer.IsHorizontalScrollChainingEnabled}"
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
IsVerticalScrollChainingEnabled="{TemplateBinding ScrollViewer.IsVerticalScrollChainingEnabled}"
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
ZoomMode="{TemplateBinding ScrollViewer.ZoomMode}"
IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}"
BringIntoViewOnFocusChange="{TemplateBinding ScrollViewer.BringIntoViewOnFocusChange}"
AutomationProperties.AccessibilityView="Raw">
<ItemsPresenter Header="{TemplateBinding Header}"
HeaderTemplate="{TemplateBinding HeaderTemplate}"
HeaderTransitions="{TemplateBinding HeaderTransitions}"
Footer="{TemplateBinding Footer}"
FooterTemplate="{TemplateBinding FooterTemplate}"
FooterTransitions="{TemplateBinding FooterTransitions}"
Padding="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</ScrollViewer>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.GridView -->
<Style TargetType="GridView">
<Setter Property="IsTabStop" Value="False" />
<Setter Property="TabNavigation" Value="Once" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Disabled" />
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.ZoomMode" Value="Disabled" />
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" />
<Setter Property="ScrollViewer.BringIntoViewOnFocusChange" Value="True" />
<Setter Property="IsSwipeEnabled" Value="True" />
<Setter Property="ItemContainerTransitions">
<Setter.Value>
<TransitionCollection>
<AddDeleteThemeTransition />
<ReorderThemeTransition />
</TransitionCollection>
</Setter.Value>
</Setter>
<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<ItemsWrapGrid Orientation="Horizontal" />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="GridView">
<Border BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}"
BorderThickness="{TemplateBinding BorderThickness}">
<ScrollViewer x:Name="ScrollViewer" TabNavigation="{TemplateBinding TabNavigation}"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
IsHorizontalScrollChainingEnabled="{TemplateBinding ScrollViewer.IsHorizontalScrollChainingEnabled}"
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
IsVerticalScrollChainingEnabled="{TemplateBinding ScrollViewer.IsVerticalScrollChainingEnabled}"
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
ZoomMode="{TemplateBinding ScrollViewer.ZoomMode}"
IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}"
BringIntoViewOnFocusChange="{TemplateBinding ScrollViewer.BringIntoViewOnFocusChange}"
AutomationProperties.AccessibilityView="Raw">
<ItemsPresenter Header="{TemplateBinding Header}"
HeaderTemplate="{TemplateBinding HeaderTemplate}"
HeaderTransitions="{TemplateBinding HeaderTransitions}"
Footer="{TemplateBinding Footer}"
FooterTemplate="{TemplateBinding FooterTemplate}"
FooterTransitions="{TemplateBinding FooterTransitions}"
Padding="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</ScrollViewer>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.GridViewHeaderItem -->
<Style TargetType="GridViewHeaderItem">
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="GridViewHeaderItem">
<Border x:Name="TiltContainer" Background="{TemplateBinding Background}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Disabled" />
<VisualState x:Name="Normal" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualState>
<VisualState x:Name="PointerOver" />
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="PointerOver">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualTransition>
<VisualTransition From="PointerOver" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualTransition>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ContentPresenter Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="{TemplateBinding Padding}"
ContentTransitions="{TemplateBinding ContentTransitions}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ListViewHeaderItem -->
<Style TargetType="ListViewHeaderItem">
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListViewHeaderItem">
<Border x:Name="TiltContainer" Background="{TemplateBinding Background}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Disabled" />
<VisualState x:Name="Normal" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualState>
<VisualState x:Name="PointerOver" />
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="PointerOver">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualTransition>
<VisualTransition From="PointerOver" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualTransition>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ContentPresenter Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="{TemplateBinding Padding}"
ContentTransitions="{TemplateBinding ContentTransitions}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ListViewItem -->
<Style TargetType="ListViewItem">
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="TabNavigation" Value="Local" />
<Setter Property="IsHoldingEnabled" Value="False" />
<Setter Property="Margin" Value="{ThemeResource ListViewItemMargin}" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListViewItem">
<Border x:Name="OuterContainer" RenderTransformOrigin="0.5,0.5">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualState>
<VisualState x:Name="CheckboxPressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="CheckboxTiltContainer" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Opacity" Duration="0"
To="{ThemeResource ListViewItemDisabledThemeOpacity}" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" Storyboard.TargetProperty="Stroke" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="BorderBrush" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedEarmark" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedGlyph" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="SelectionStates">
<VisualState x:Name="Unselected" />
<VisualState x:Name="Selected">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
<DoubleAnimation Storyboard.TargetName="SelectedCheckMark" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedUnfocused">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
<DoubleAnimation Storyboard.TargetName="SelectedCheckMark" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="DataVirtualizationStates">
<VisualState x:Name="DataAvailable" />
<VisualState x:Name="DataPlaceholder">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextBlock" Storyboard.TargetProperty="Visibility" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderRect" Storyboard.TargetProperty="Visibility" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="MultiSelectStates">
<VisualState x:Name="NoMultiSelect" />
<VisualState x:Name="ListMultiSelect">
<Storyboard>
<DoubleAnimation To="0" Duration="0" Storyboard.TargetName="CheckboxContainerTranslateTransform" Storyboard.TargetProperty="X" />
<DoubleAnimation To="{ThemeResource ListViewItemContentTranslateX}" Duration="0" Storyboard.TargetName="ContentBorderTranslateTransform" Storyboard.TargetProperty="X" />
</Storyboard>
</VisualState>
<VisualState x:Name="GridMultiSelect">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="ListMultiSelect" To="NoMultiSelect" GeneratedDuration="0:0:0.15" />
<VisualTransition From="NoMultiSelect" To="ListMultiSelect" GeneratedDuration="0:0:0.15" />
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="ReorderModeStates">
<VisualState x:Name="ReorderEnabled">
<Storyboard>
<DropTargetItemThemeAnimation Storyboard.TargetName="OuterContainer" />
</Storyboard>
</VisualState>
<VisualState x:Name="Reorderable">
<Storyboard>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ContentScaleTransform"
Storyboard.TargetProperty="ScaleX">
<LinearDoubleKeyFrame KeyTime="00:00:00.075" Value="1.05"/>
<LinearDoubleKeyFrame KeyTime="00:00:00.2" Value="1.0"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ContentScaleTransform"
Storyboard.TargetProperty="ScaleY">
<LinearDoubleKeyFrame KeyTime="00:00:00.075" Value="1.05"/>
<LinearDoubleKeyFrame KeyTime="00:00:00.2" Value="1.0"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="ReorderDisabled" />
<VisualStateGroup.Transitions>
<VisualTransition From="ReorderEnabled" To="ReorderDisabled" GeneratedDuration="00:00:00.2"/>
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="ReorderHintStates">
<VisualState x:Name="NoReorderHint" />
<VisualState x:Name="BottomReorderHint">
<Storyboard>
<DragOverThemeAnimation Storyboard.TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Bottom" />
</Storyboard>
</VisualState>
<VisualState x:Name="RightReorderHint">
<Storyboard>
<DragOverThemeAnimation Storyboard.TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Right" />
</Storyboard>
</VisualState>
<VisualState x:Name="TopReorderHint">
<Storyboard>
<DragOverThemeAnimation Storyboard.TargetName="ReorderHintContent" ToOffset="0" Direction="Top" />
</Storyboard>
</VisualState>
<VisualState x:Name="LeftReorderHint">
<Storyboard>
<DragOverThemeAnimation Storyboard.TargetName="ReorderHintContent" ToOffset="0" Direction="Left" />
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition To="NoReorderHint" GeneratedDuration="0:0:0.2" />
</VisualStateGroup.Transitions>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border.RenderTransform>
<ScaleTransform x:Name="ContentScaleTransform"/>
</Border.RenderTransform>
<Grid x:Name="ReorderHintContent" Background="Transparent">
<Border x:Name="CheckboxTiltContainer"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="{ThemeResource ListViewItemMultiselectCheckBoxMargin}">
<Border x:Name="CheckboxOuterContainer">
<Border.Clip>
<RectangleGeometry Rect="0,0,25.5,25.5" />
</Border.Clip>
<Grid x:Name="CheckboxContainer">
<Grid.RenderTransform>
<TranslateTransform x:Name="CheckboxContainerTranslateTransform" X="{ThemeResource ListViewItemContentOffsetX}" />
</Grid.RenderTransform>
<Rectangle x:Name="NormalRectangle"
Fill="{ThemeResource CheckBoxBackgroundThemeBrush}"
Stroke="{ThemeResource CheckBoxBorderThemeBrush}"
StrokeThickness="{ThemeResource CheckBoxBorderThemeThickness}"
Height="25.5"
Width="25.5"/>
<Path x:Name="CheckGlyph"
IsHitTestVisible="False"
Width="18.5"
Height="17"
Stretch="Fill"
Opacity="0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Fill="{ThemeResource CheckBoxForegroundThemeBrush}"
Data="M0,123 L39,93 L124,164 L256,18 L295,49 L124,240 z"
StrokeLineJoin="Round"
StrokeThickness="2.5"
FlowDirection="LeftToRight" />
</Grid>
</Border>
</Border>
<Border x:Name="ContentContainer">
<Border x:Name="TiltContainer">
<Border x:Name="ContentBorder"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border.RenderTransform>
<TranslateTransform x:Name="ContentBorderTranslateTransform" />
</Border.RenderTransform>
<Grid>
<ContentPresenter x:Name="contentPresenter"
ContentTransitions="{TemplateBinding ContentTransitions}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Content="{TemplateBinding Content}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Margin="{TemplateBinding Padding}" />
<!-- The 'Xg' text simulates the amount of space one line of text will occupy.
In the DataPlaceholder state, the Content is not loaded yet so we
approximate the size of the item using placeholder text. -->
<TextBlock x:Name="PlaceholderTextBlock"
Opacity="0"
Text="Xg"
Foreground="{x:Null}"
Margin="{TemplateBinding Padding}"
IsHitTestVisible="False"
AutomationProperties.AccessibilityView="Raw"/>
<Rectangle x:Name="PlaceholderRect"
Visibility="Collapsed"
Fill="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}"
IsHitTestVisible="False" />
</Grid>
</Border>
</Border>
</Border>
<Border x:Name="SelectedBorder"
IsHitTestVisible="False"
Opacity="0"
BorderBrush="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}"
BorderThickness="{ThemeResource GridViewItemMultiselectBorderThickness}">
<Grid x:Name="SelectedCheckMark"
Opacity="0"
Height="34"
Width="34"
HorizontalAlignment="Right"
VerticalAlignment="Top">
<Path x:Name="SelectedEarmark" Data="M0,0 L40,0 L40,40 z"
Fill="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}"
Stretch="Fill" />
<Path x:Name="SelectedGlyph"
Data="M0,123 L39,93 L124,164 L256,18 L295,49 L124,240 z"
Fill="{ThemeResource ListViewItemCheckThemeBrush}"
Height="14.5"
Stretch="Fill"
Width="17"
HorizontalAlignment="Right"
Margin="0,1,1,0"
VerticalAlignment="Top"
FlowDirection="LeftToRight" />
</Grid>
</Border>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Style for a Windows.UI.Xaml.Controls.ListViewItem used in a ListPickerFlyoutPresenter -->
<Style x:Key="ListPickerFlyoutPresenterItemStyle" TargetType="ListViewItem">
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="TabNavigation" Value="Local" />
<Setter Property="IsHoldingEnabled" Value="False" />
<Setter Property="Margin" Value="{ThemeResource ListPickerFlyoutPresenterItemMargin}" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Top" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListViewItem">
<Border x:Name="OuterContainer" RenderTransformOrigin="0.5,0.5">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualState>
<VisualState x:Name="CheckboxPressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="CheckboxTiltContainer" />
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Opacity" Duration="0"
To="{ThemeResource ListViewItemDisabledThemeOpacity}" />
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="SelectionStates">
<VisualState x:Name="Unselected" />
<VisualState x:Name="Selected">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
<DoubleAnimation Storyboard.TargetName="SelectedCheckMark" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Foreground" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListPickerFlyoutPresenterSelectedItemForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentBorder" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListPickerFlyoutPresenterSelectedItemBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedUnfocused">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
<DoubleAnimation Storyboard.TargetName="SelectedCheckMark" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="DataVirtualizationStates">
<VisualState x:Name="DataAvailable" />
<VisualState x:Name="DataPlaceholder">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextBlock" Storyboard.TargetProperty="Visibility" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderRect" Storyboard.TargetProperty="Visibility" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="MultiSelectStates">
<VisualState x:Name="NoMultiSelect" />
<VisualState x:Name="ListMultiSelect">
<Storyboard>
<DoubleAnimation To="0" Duration="0" Storyboard.TargetName="CheckboxContainerTranslateTransform" Storyboard.TargetProperty="X" />
<DoubleAnimation To="25.5" Duration="0" Storyboard.TargetName="ContentBorderTranslateTransform" Storyboard.TargetProperty="X" />
</Storyboard>
</VisualState>
<VisualState x:Name="GridMultiSelect" />
<VisualStateGroup.Transitions>
<VisualTransition From="ListMultiSelect" To="NoMultiSelect" GeneratedDuration="0:0:0.15" />
<VisualTransition From="NoMultiSelect" To="ListMultiSelect" GeneratedDuration="0:0:0.15" />
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="HighlightStates">
<VisualState x:Name="NoHighlight" />
<VisualState x:Name="Highlighted">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Foreground" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListPickerFlyoutPresenterSelectedItemForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentBorder" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListPickerFlyoutPresenterSelectedItemBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border.RenderTransform>
<ScaleTransform x:Name="ContentScaleTransform"/>
</Border.RenderTransform>
<Grid x:Name="ReorderHintContent" Background="Transparent">
<Border x:Name="CheckboxTiltContainer"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="{ThemeResource ListPickerFlyoutPresenterMultiselectCheckBoxMargin}">
<Border x:Name="CheckboxOuterContainer">
<Border.Clip>
<RectangleGeometry Rect="0,0,25.5,25.5" />
</Border.Clip>
<Grid x:Name="CheckboxContainer">
<Grid.RenderTransform>
<TranslateTransform x:Name="CheckboxContainerTranslateTransform" X="{ThemeResource ListViewItemContentOffsetX}" />
</Grid.RenderTransform>
<Rectangle x:Name="NormalRectangle"
Fill="{ThemeResource CheckBoxBackgroundThemeBrush}"
Stroke="{ThemeResource CheckBoxBorderThemeBrush}"
StrokeThickness="{ThemeResource CheckBoxBorderThemeThickness}"
Height="25.5"
Width="25.5"/>
<Path x:Name="CheckGlyph"
IsHitTestVisible="False"
Width="18.5"
Height="17"
Stretch="Fill"
Opacity="0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Fill="{ThemeResource CheckBoxForegroundThemeBrush}"
Data="M0,123 L39,93 L124,164 L256,18 L295,49 L124,240 z"
StrokeLineJoin="Round"
StrokeThickness="2.5"
FlowDirection="LeftToRight" />
</Grid>
</Border>
</Border>
<Border x:Name="ContentContainer">
<Border x:Name="TiltContainer">
<Border x:Name="ContentBorder"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border.RenderTransform>
<TranslateTransform x:Name="ContentBorderTranslateTransform" />
</Border.RenderTransform>
<Grid>
<ContentPresenter x:Name="contentPresenter"
ContentTransitions="{TemplateBinding ContentTransitions}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Content="{TemplateBinding Content}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Margin="{TemplateBinding Padding}"
Style="{ThemeResource FlyoutPickerListViewItemContentPresenterStyle}" />
<!-- The 'Xg' text simulates the amount of space one line of text will occupy.
In the DataPlaceholder state, the Content is not loaded yet so we
approximate the size of the item using placeholder text. -->
<TextBlock x:Name="PlaceholderTextBlock"
Opacity="0"
Text="Xg"
Foreground="{x:Null}"
Margin="{TemplateBinding Padding}"
IsHitTestVisible="False"
AutomationProperties.AccessibilityView="Raw"/>
<Rectangle x:Name="PlaceholderRect"
Visibility="Collapsed"
Fill="{ThemeResource FlyoutBackgroundThemeBrush}"
IsHitTestVisible="False" />
</Grid>
</Border>
</Border>
</Border>
<Border x:Name="SelectedBorder"
IsHitTestVisible="False"
Opacity="0"
BorderBrush="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}"
BorderThickness="{ThemeResource GridViewItemMultiselectBorderThickness}">
<Grid x:Name="SelectedCheckMark"
Opacity="0"
Height="34"
Width="34"
HorizontalAlignment="Right"
VerticalAlignment="Top">
<Path x:Name="SelectedEarmark" Data="M0,0 L40,0 L40,40 z"
Fill="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}"
Stretch="Fill" />
<Path x:Name="SelectedGlyph"
Data="M0,123 L39,93 L124,164 L256,18 L295,49 L124,240 z"
Fill="{ThemeResource ListViewItemCheckThemeBrush}"
Height="14.5"
Stretch="Fill"
Width="17"
HorizontalAlignment="Right"
Margin="0,1,1,0"
VerticalAlignment="Top"
FlowDirection="LeftToRight" />
</Grid>
</Border>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.GridViewItem -->
<Style TargetType="GridViewItem">
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="TabNavigation" Value="Local" />
<Setter Property="IsHoldingEnabled" Value="False" />
<Setter Property="Margin" Value="{ThemeResource GridViewItemMargin}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="GridViewItem">
<Border x:Name="OuterContainer" RenderTransformOrigin="0.5,0.5">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualState>
<VisualState x:Name="CheckboxPressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="CheckboxTiltContainer" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Opacity" Duration="0"
To="{ThemeResource ListViewItemDisabledThemeOpacity}" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" Storyboard.TargetProperty="Stroke" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="BorderBrush" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedEarmark" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedGlyph" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="SelectionStates">
<VisualState x:Name="Unselected" />
<VisualState x:Name="Selected">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
<DoubleAnimation Storyboard.TargetName="SelectedCheckMark" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
</Storyboard>
</VisualState>
<VisualState x:Name="SelectedUnfocused">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="CheckGlyph" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
<DoubleAnimation Storyboard.TargetName="SelectedCheckMark" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="DataVirtualizationStates">
<VisualState x:Name="DataAvailable" />
<VisualState x:Name="DataPlaceholder">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextBlock" Storyboard.TargetProperty="Visibility" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderRect" Storyboard.TargetProperty="Visibility" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="MultiSelectStates">
<VisualState x:Name="NoMultiSelect" />
<VisualState x:Name="ListMultiSelect">
<Storyboard>
<DoubleAnimation To="0" Duration="0" Storyboard.TargetName="CheckboxContainerTranslateTransform" Storyboard.TargetProperty="X" />
<DoubleAnimation To="{ThemeResource ListViewItemContentTranslateX}" Duration="0" Storyboard.TargetName="ContentBorderTranslateTransform" Storyboard.TargetProperty="X" />
</Storyboard>
</VisualState>
<VisualState x:Name="GridMultiSelect">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="ListMultiSelect" To="NoMultiSelect" GeneratedDuration="0:0:0.15" />
<VisualTransition From="NoMultiSelect" To="ListMultiSelect" GeneratedDuration="0:0:0.15" />
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="ReorderModeStates">
<VisualState x:Name="ReorderEnabled">
<Storyboard>
<DropTargetItemThemeAnimation Storyboard.TargetName="OuterContainer" />
</Storyboard>
</VisualState>
<VisualState x:Name="Reorderable">
<Storyboard>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ContentScaleTransform"
Storyboard.TargetProperty="ScaleX">
<LinearDoubleKeyFrame KeyTime="00:00:00.075" Value="1.05"/>
<LinearDoubleKeyFrame KeyTime="00:00:00.2" Value="1.0"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ContentScaleTransform"
Storyboard.TargetProperty="ScaleY">
<LinearDoubleKeyFrame KeyTime="00:00:00.075" Value="1.05"/>
<LinearDoubleKeyFrame KeyTime="00:00:00.2" Value="1.0"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="ReorderDisabled" />
<VisualStateGroup.Transitions>
<VisualTransition From="ReorderEnabled" To="ReorderDisabled" GeneratedDuration="00:00:00.2"/>
</VisualStateGroup.Transitions>
</VisualStateGroup>
<VisualStateGroup x:Name="ReorderHintStates">
<VisualState x:Name="NoReorderHint" />
<VisualState x:Name="BottomReorderHint">
<Storyboard>
<DragOverThemeAnimation Storyboard.TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Bottom" />
</Storyboard>
</VisualState>
<VisualState x:Name="RightReorderHint">
<Storyboard>
<DragOverThemeAnimation Storyboard.TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Right" />
</Storyboard>
</VisualState>
<VisualState x:Name="TopReorderHint">
<Storyboard>
<DragOverThemeAnimation Storyboard.TargetName="ReorderHintContent" ToOffset="0" Direction="Top" />
</Storyboard>
</VisualState>
<VisualState x:Name="LeftReorderHint">
<Storyboard>
<DragOverThemeAnimation Storyboard.TargetName="ReorderHintContent" ToOffset="0" Direction="Left" />
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition To="NoReorderHint" GeneratedDuration="0:0:0.2" />
</VisualStateGroup.Transitions>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border.RenderTransform>
<ScaleTransform x:Name="ContentScaleTransform"/>
</Border.RenderTransform>
<Grid x:Name="ReorderHintContent" Background="Transparent">
<Border x:Name="CheckboxTiltContainer"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="{ThemeResource ListViewItemMultiselectCheckBoxMargin}">
<Border x:Name="CheckboxOuterContainer">
<Border.Clip>
<RectangleGeometry Rect="0,0,25.5,25.5" />
</Border.Clip>
<Grid x:Name="CheckboxContainer">
<Grid.RenderTransform>
<TranslateTransform x:Name="CheckboxContainerTranslateTransform" X="{ThemeResource ListViewItemContentOffsetX}" />
</Grid.RenderTransform>
<Rectangle x:Name="NormalRectangle"
Fill="{ThemeResource CheckBoxBackgroundThemeBrush}"
Stroke="{ThemeResource CheckBoxBorderThemeBrush}"
StrokeThickness="{ThemeResource CheckBoxBorderThemeThickness}"
Height="25.5"
Width="25.5"/>
<Path x:Name="CheckGlyph"
IsHitTestVisible="False"
Width="18.5"
Height="17"
Stretch="Fill"
Opacity="0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Fill="{ThemeResource CheckBoxForegroundThemeBrush}"
Data="M0,123 L39,93 L124,164 L256,18 L295,49 L124,240 z"
StrokeLineJoin="Round"
StrokeThickness="2.5"
FlowDirection="LeftToRight" />
</Grid>
</Border>
</Border>
<Border x:Name="ContentContainer">
<Border x:Name="TiltContainer">
<Border x:Name="ContentBorder"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border.RenderTransform>
<TranslateTransform x:Name="ContentBorderTranslateTransform" />
</Border.RenderTransform>
<Grid>
<ContentPresenter x:Name="contentPresenter"
ContentTransitions="{TemplateBinding ContentTransitions}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Content="{TemplateBinding Content}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Margin="{TemplateBinding Padding}" />
<!-- The 'Xg' text simulates the amount of space one line of text will occupy.
In the DataPlaceholder state, the Content is not loaded yet so we
approximate the size of the item using placeholder text. -->
<TextBlock x:Name="PlaceholderTextBlock"
Opacity="0"
Text="Xg"
Foreground="{x:Null}"
Margin="{TemplateBinding Padding}"
IsHitTestVisible="False"
AutomationProperties.AccessibilityView="Raw"/>
<Rectangle x:Name="PlaceholderRect"
Visibility="Collapsed"
Fill="{ThemeResource GridViewItemPlaceholderBackgroundThemeBrush}"
IsHitTestVisible="False" />
</Grid>
</Border>
</Border>
</Border>
<Border x:Name="SelectedBorder"
IsHitTestVisible="False"
Opacity="0"
BorderBrush="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}"
BorderThickness="{ThemeResource GridViewItemMultiselectBorderThickness}">
<Grid x:Name="SelectedCheckMark"
Opacity="0"
Height="34"
Width="34"
HorizontalAlignment="Right"
VerticalAlignment="Top">
<Path x:Name="SelectedEarmark" Data="M0,0 L40,0 L40,40 z"
Fill="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}"
Stretch="Fill" />
<Path x:Name="SelectedGlyph"
Data="M0,123 L39,93 L124,164 L256,18 L295,49 L124,240 z"
Fill="{ThemeResource ListViewItemCheckThemeBrush}"
Height="14.5"
Stretch="Fill"
Width="17"
HorizontalAlignment="Right"
Margin="0,1,1,0"
VerticalAlignment="Top"
FlowDirection="LeftToRight" />
</Grid>
</Border>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.SemanticZoom -->
<Style TargetType="SemanticZoom">
<Setter Property="Padding" Value="0" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="TabNavigation" Value="Once" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="SemanticZoom">
<Grid>
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Grid Margin="{TemplateBinding Padding}">
<ContentPresenter x:Name="ZoomedInPresenter"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Content="{TemplateBinding ZoomedInView}"/>
<Popup x:Name="Popup">
<Popup.ChildTransitions>
<TransitionCollection>
<PopupThemeTransition/>
</TransitionCollection>
</Popup.ChildTransitions>
<Border x:Name="PopupBorder">
<ContentPresenter x:Name="ZoomedOutPresenter"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Content="{TemplateBinding ZoomedOutView}" />
</Border>
</Popup>
</Grid>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.CommandBar -->
<Style TargetType="CommandBar">
<Setter Property="Foreground" Value="{ThemeResource CommandBarForegroundThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource CommandBarBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource AppBarBorderThemeBrush}" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="MaxHeight" Value="57.5" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="CommandBar">
<Grid x:Name="LayoutRoot" Background="{TemplateBinding Background}">
<ItemsControl x:Name="SecondaryItemsControl" HorizontalAlignment="Left" IsTabStop="False" />
<ItemsControl x:Name="PrimaryItemsControl" HorizontalAlignment="Right" IsTabStop="False" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.TimePicker -->
<Style TargetType="TimePicker">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource ContentControlFontSize}" />
<Setter Property="Foreground" Value="{ThemeResource TimePickerForegroundThemeBrush}" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TimePicker">
<StackPanel Margin="{TemplateBinding Padding}" x:Name="LayoutRoot">
<ContentPresenter x:Name="HeaderContentPresenter" Style="{StaticResource HeaderContentPresenterStyle}" Margin="0,0,0,-3"
Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" />
<Button x:Name="FlyoutButton"
Foreground="{TemplateBinding Foreground}"
BorderBrush="{TemplateBinding Foreground}"
BorderThickness="2.5"
Padding="6.5,0,0,3"
IsEnabled="{TemplateBinding IsEnabled}"
HorizontalAlignment="Stretch"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" />
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ProgressBar -->
<Style TargetType="ProgressBar">
<Setter Property="Foreground" Value="{ThemeResource ProgressBarForegroundThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource ProgressBarBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource ProgressBarBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource ProgressBarBorderThemeThickness}" />
<Setter Property="Maximum" Value="100" />
<Setter Property="MinHeight" Value="{ThemeResource ProgressBarThemeMinHeight}" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ProgressBar">
<Grid>
<Grid.Resources>
<Style x:Key="ProgressBarRectangleStyle" TargetType="Rectangle">
<Setter Property="Width" Value="{ThemeResource ProgressBarIndeterminateRectagleThemeSize}" />
<Setter Property="Height" Value="{ThemeResource ProgressBarIndeterminateRectagleThemeSize}" />
</Style>
</Grid.Resources>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualStateGroup.Transitions>
<VisualTransition From="Updating" To="Determinate">
<Storyboard>
<RepositionThemeAnimation Storyboard.TargetName="ProgressBarIndicator"
FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.IndicatorLengthDelta}" />
</Storyboard>
</VisualTransition>
<VisualTransition From="Paused" To="Determinate">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="ProgressBarIndicator" Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:0.25" />
</Storyboard>
</VisualTransition>
<VisualTransition From="Indeterminate">
<Storyboard>
<FadeInThemeAnimation Storyboard.TargetName="EllipseGrid" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
<VisualState x:Name="Determinate">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="HighContrastBtmAccentBar" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
<DoubleAnimation Storyboard.TargetName="HighContrastRitAccentBar" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
</Storyboard>
</VisualState>
<VisualState x:Name="Updating" />
<VisualState x:Name="Indeterminate">
<Storyboard RepeatBehavior="Forever">
<DoubleAnimation Storyboard.TargetName="EllipseGrid" Duration="0:0:3.917"
Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"
From="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.ContainerAnimationStartPosition}"
To="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.ContainerAnimationEndPosition}" />
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="E1">
<EasingDoubleKeyFrame KeyTime="0" Value="0">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseOut"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:1" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}" KeySpline="0.4,0,0.6,1" />
<EasingDoubleKeyFrame KeyTime="0:0:2" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseIn"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:3" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationEndPosition}" KeySpline="0.4,0,0.6,1" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="E2">
<EasingDoubleKeyFrame KeyTime="0" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.167" Value="0">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseOut"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:1.167" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}" KeySpline="0.4,0,0.6,1" />
<EasingDoubleKeyFrame KeyTime="0:0:2.167" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseIn"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:3.167" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationEndPosition}" KeySpline="0.4,0,0.6,1" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="E3">
<EasingDoubleKeyFrame KeyTime="0" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.333" Value="0">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseOut"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:1.333" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}" KeySpline="0.4,0,0.6,1" />
<EasingDoubleKeyFrame KeyTime="0:0:2.333" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseIn"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:3.333" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationEndPosition}" KeySpline="0.4,0,0.6,1" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="E4">
<EasingDoubleKeyFrame KeyTime="0" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseOut"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:1.5" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}" KeySpline="0.4,0,0.6,1" />
<EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseIn"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:3.5" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationEndPosition}" KeySpline="0.4,0,0.6,1" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="E5">
<EasingDoubleKeyFrame KeyTime="0" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.667" Value="0">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseOut"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:1.667" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}" KeySpline="0.4,0,0.6,1" />
<EasingDoubleKeyFrame KeyTime="0:0:2.667" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationWellPosition}">
<EasingDoubleKeyFrame.EasingFunction>
<ExponentialEase Exponent="16" EasingMode="EaseIn"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
<SplineDoubleKeyFrame KeyTime="0:0:3.667" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseAnimationEndPosition}" KeySpline="0.4,0,0.6,1" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="B1">
<EasingDoubleKeyFrame KeyTime="0" Value="-40" />
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:3" Value="80" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="B2">
<EasingDoubleKeyFrame KeyTime="0" Value="-40" />
<EasingDoubleKeyFrame KeyTime="0:0:0.667" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:2.167" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:3.167" Value="80" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="B3">
<EasingDoubleKeyFrame KeyTime="0" Value="-40" />
<EasingDoubleKeyFrame KeyTime="0:0:0.833" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:2.333" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:3.333" Value="80" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="B4">
<EasingDoubleKeyFrame KeyTime="0" Value="-40" />
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="80" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="B5">
<EasingDoubleKeyFrame KeyTime="0" Value="-40" />
<EasingDoubleKeyFrame KeyTime="0:0:1.167" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:2.667" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:3.667" Value="80" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="EllipseGrid" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
<!-- Both FadeOutThemeAnimation and a DoubleAnimation on Opacity are necessary
here. The FadeOutThemeAnimation is necessary in the Indeterminate state so
that we can do a FadeInThemeAnimation when transitioning back to the
Determinate state. The DoubleAnimation on Opacity is necessary to hide the
DeterminateRoot immediately so that it does not slowly fade out during each
iteration of the Indeterminate state animation. -->
<FadeOutThemeAnimation Storyboard.TargetName="DeterminateRoot" />
<DoubleAnimation Storyboard.TargetName="DeterminateRoot" Storyboard.TargetProperty="Opacity" To="0" Duration="0" />
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="E1">
<EasingDoubleKeyFrame KeyTime="0" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="E2">
<EasingDoubleKeyFrame KeyTime="0" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.167" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.167" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3.167" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3.167" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="E3">
<EasingDoubleKeyFrame KeyTime="0" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.333" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.333" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3.333" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3.333" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="E4">
<EasingDoubleKeyFrame KeyTime="0" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="E5">
<EasingDoubleKeyFrame KeyTime="0" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.667" Value="0" />
<EasingDoubleKeyFrame KeyTime="0:0:0.667" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3.667" Value="1" />
<EasingDoubleKeyFrame KeyTime="0:0:3.667" Value="0" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Error">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ProgressBarIndicator">
<DiscreteObjectKeyFrame KeyTime="0" Value="0" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Paused">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="ProgressBarIndicator" Storyboard.TargetProperty="Opacity" To="0.5" Duration="0:0:0.25" />
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="EllipseGrid" Opacity="0">
<Grid.RenderTransform>
<TranslateTransform />
</Grid.RenderTransform>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Border x:Name="B1" Grid.Column="8" RenderTransformOrigin="0.5,0.5">
<Border.RenderTransform>
<TranslateTransform />
</Border.RenderTransform>
<Rectangle x:Name="E1" Fill="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}"
Style="{ThemeResource ProgressBarRectangleStyle}"
RenderTransformOrigin="0.5,0.5">
<Rectangle.RenderTransform>
<TranslateTransform />
</Rectangle.RenderTransform>
</Rectangle>
</Border>
<Rectangle Grid.Column="7" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" />
<Border x:Name="B2" Grid.Column="6" RenderTransformOrigin="0.5,0.5">
<Border.RenderTransform>
<TranslateTransform />
</Border.RenderTransform>
<Rectangle x:Name="E2" Fill="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}"
Style="{ThemeResource ProgressBarRectangleStyle}"
RenderTransformOrigin="0.5,0.5">
<Rectangle.RenderTransform>
<TranslateTransform />
</Rectangle.RenderTransform>
</Rectangle>
</Border>
<Rectangle Grid.Column="5" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" />
<Border x:Name="B3" Grid.Column="4" RenderTransformOrigin="0.5,0.5">
<Border.RenderTransform>
<TranslateTransform />
</Border.RenderTransform>
<Rectangle x:Name="E3" Fill="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}"
Style="{ThemeResource ProgressBarRectangleStyle}"
RenderTransformOrigin="0.5,0.5">
<Rectangle.RenderTransform>
<TranslateTransform />
</Rectangle.RenderTransform>
</Rectangle>
</Border>
<Rectangle Grid.Column="3" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" />
<Border x:Name="B4" Grid.Column="2" RenderTransformOrigin="0.5,0.5">
<Border.RenderTransform>
<TranslateTransform />
</Border.RenderTransform>
<Rectangle x:Name="E4" Fill="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}"
Style="{ThemeResource ProgressBarRectangleStyle}"
RenderTransformOrigin="0.5,0.5">
<Rectangle.RenderTransform>
<TranslateTransform />
</Rectangle.RenderTransform>
</Rectangle>
</Border>
<Rectangle Grid.Column="1" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" />
<Border x:Name="B5" Grid.Column="0" RenderTransformOrigin="0.5,0.5">
<Border.RenderTransform>
<TranslateTransform />
</Border.RenderTransform>
<Rectangle x:Name="E5" Fill="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}"
Style="{ThemeResource ProgressBarRectangleStyle}"
RenderTransformOrigin="0.5,0.5">
<Rectangle.RenderTransform>
<TranslateTransform />
</Rectangle.RenderTransform>
</Rectangle>
</Border>
</Grid>
<Rectangle x:Name="HighContrastBtmAccentBar"
VerticalAlignment="Bottom"
Height="0.8"
Fill="{ThemeResource ProgressBarHighContrastAccentBarThemeBrush}"
Opacity="0" />
<Rectangle x:Name="HighContrastRitAccentBar"
HorizontalAlignment="Right"
Width="0.8" Fill="{ThemeResource ProgressBarHighContrastAccentBarThemeBrush}"
Opacity="0" />
<Border x:Name="DeterminateRoot"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
MinHeight="{TemplateBinding MinHeight}">
<Rectangle x:Name="ProgressBarIndicator"
Margin="{TemplateBinding Padding}"
Fill="{TemplateBinding Foreground}"
HorizontalAlignment="Left"/>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default Style for AutoSuggestBox -->
<Style TargetType="controls:AutoSuggestBox">
<Setter Property="Margin" Value="{ThemeResource TextControlMarginThemeThickness}" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="ItemContainerStyle">
<Setter.Value>
<Style TargetType="ListViewItem">
<Setter Property="Margin" Value="{ThemeResource AutoSuggestListViewItemMargin}" />
<Setter Property="FontSize" Value="{ThemeResource ContentControlFontSize}" />
<Setter Property="Foreground" Value="{ThemeResource TextBoxForegroundThemeBrush}" />
</Style>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:AutoSuggestBox">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="Orientation">
<VisualState x:Name="Landscape"/>
<VisualState x:Name="Portrait"/>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<TextBox x:Name="TextBox"
PlaceholderText="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=PlaceholderText}"
Header="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Header}"
Width="{TemplateBinding Width}"
ScrollViewer.BringIntoViewOnFocusChange="False"
Canvas.ZIndex="0"
Margin="0" />
<Popup x:Name="SuggestionsPopup">
<Border x:Name="SuggestionsContainer"
Background="{ThemeResource AutoSuggestBackgroundThemeBrush}"
BorderBrush="{ThemeResource PhoneAccentBrush}"
BorderThickness="{ThemeResource TextControlBorderThemeThickness}">
<Border.RenderTransform>
<TranslateTransform x:Name="UpwardTransform"/>
</Border.RenderTransform>
<ListView x:Name="SuggestionsList"
ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ItemsSource}"
ItemTemplate="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ItemTemplate}"
ItemTemplateSelector="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ItemTemplateSelector}"
ItemContainerStyle="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ItemContainerStyle}"
RenderTransformOrigin=".5,.5">
<ListView.RenderTransform>
<ScaleTransform x:Name="ListItemOrderTransform"/>
</ListView.RenderTransform>
</ListView>
</Border>
</Popup>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ProgressRing -->
<Style TargetType="ProgressRing">
<Setter Property="Background" Value="{ThemeResource PhoneBackgroundBrush}" />
<Setter Property="Foreground" Value="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal }" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleLargeFontSize}" />
<Setter Property="MinHeight" Value="{ThemeResource ProgressRingThemeSize}" />
<Setter Property="MinWidth" Value="{ThemeResource ProgressRingThemeSize}" />
<Setter Property="IsHitTestVisible" Value="False" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ProgressRing">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.Resources>
<Style x:Key="ProgressRingEllipseStyle" TargetType="Ellipse">
<Setter Property="Width" Value="{ThemeResource ProgressRingElipseThemeSize}" />
<Setter Property="Height" Value="{ThemeResource ProgressRingElipseThemeSize}" />
<Setter Property="Margin" Value="{ThemeResource ProgressRingElipseThemeMargin}" />
<Setter Property="Opacity" Value="0" />
</Style>
</Grid.Resources>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="SizeStates">
<VisualState x:Name="Large">
<Storyboard>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="SixthCircle" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Small" />
</VisualStateGroup>
<VisualStateGroup x:Name="ActiveStates">
<VisualState x:Name="Inactive" />
<VisualState x:Name="Active">
<Storyboard RepeatBehavior="Forever">
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="BackgroundOverlay" Storyboard.TargetProperty="Opacity">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ProgressRingActiveBackgroundOpacity}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="Ring" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E1" Storyboard.TargetProperty="Opacity" BeginTime="0">
<DiscreteDoubleKeyFrame KeyTime="0" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.21" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.22" Value="0" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.47" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E2" Storyboard.TargetProperty="Opacity" BeginTime="00:00:00.167">
<DiscreteDoubleKeyFrame KeyTime="0" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.21" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.22" Value="0" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.47" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E3" Storyboard.TargetProperty="Opacity" BeginTime="00:00:00.334">
<DiscreteDoubleKeyFrame KeyTime="0" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.21" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.22" Value="0" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.47" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E4" Storyboard.TargetProperty="Opacity" BeginTime="00:00:00.501">
<DiscreteDoubleKeyFrame KeyTime="0" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.21" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.22" Value="0" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.47" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E5" Storyboard.TargetProperty="Opacity" BeginTime="00:00:00.668">
<DiscreteDoubleKeyFrame KeyTime="0" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.21" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.22" Value="0" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.47" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E6" Storyboard.TargetProperty="Opacity" BeginTime="00:00:00.835">
<DiscreteDoubleKeyFrame KeyTime="0" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.21" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.22" Value="0" />
<DiscreteDoubleKeyFrame KeyTime="0:0:3.47" Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E1R" BeginTime="0" Storyboard.TargetProperty="Angle">
<SplineDoubleKeyFrame KeyTime="0" Value="-110" KeySpline="0.13,0.21,0.1,0.7" />
<SplineDoubleKeyFrame KeyTime="0:0:0.433" Value="10" KeySpline="0.02,0.33,0.38,0.77" />
<SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="93" />
<SplineDoubleKeyFrame KeyTime="0:0:1.617" Value="205" KeySpline="0.57,0.17,0.95,0.75" />
<SplineDoubleKeyFrame KeyTime="0:0:2.017" Value="357" KeySpline="0,0.19,0.07,0.72" />
<SplineDoubleKeyFrame KeyTime="0:0:2.783" Value="439" />
<SplineDoubleKeyFrame KeyTime="0:0:3.217" Value="585" KeySpline="0,0,0.95,0.37" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E2R" BeginTime="00:00:00.167" Storyboard.TargetProperty="Angle">
<SplineDoubleKeyFrame KeyTime="0" Value="-116" KeySpline="0.13,0.21,0.1,0.7" />
<SplineDoubleKeyFrame KeyTime="0:0:0.433" Value="4" KeySpline="0.02,0.33,0.38,0.77" />
<SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="87" />
<SplineDoubleKeyFrame KeyTime="0:0:1.617" Value="199" KeySpline="0.57,0.17,0.95,0.75" />
<SplineDoubleKeyFrame KeyTime="0:0:2.017" Value="351" KeySpline="0,0.19,0.07,0.72" />
<SplineDoubleKeyFrame KeyTime="0:0:2.783" Value="433" />
<SplineDoubleKeyFrame KeyTime="0:0:3.217" Value="579" KeySpline="0,0,0.95,0.37" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E3R" BeginTime="00:00:00.334" Storyboard.TargetProperty="Angle">
<SplineDoubleKeyFrame KeyTime="0" Value="-122" KeySpline="0.13,0.21,0.1,0.7" />
<SplineDoubleKeyFrame KeyTime="0:0:0.433" Value="-2" KeySpline="0.02,0.33,0.38,0.77" />
<SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="81" />
<SplineDoubleKeyFrame KeyTime="0:0:1.617" Value="193" KeySpline="0.57,0.17,0.95,0.75" />
<SplineDoubleKeyFrame KeyTime="0:0:2.017" Value="345" KeySpline="0,0.19,0.07,0.72" />
<SplineDoubleKeyFrame KeyTime="0:0:2.783" Value="427" />
<SplineDoubleKeyFrame KeyTime="0:0:3.217" Value="573" KeySpline="0,0,0.95,0.37" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E4R" BeginTime="00:00:00.501" Storyboard.TargetProperty="Angle">
<SplineDoubleKeyFrame KeyTime="0" Value="-128" KeySpline="0.13,0.21,0.1,0.7" />
<SplineDoubleKeyFrame KeyTime="0:0:0.433" Value="-8" KeySpline="0.02,0.33,0.38,0.77" />
<SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="75" />
<SplineDoubleKeyFrame KeyTime="0:0:1.617" Value="187" KeySpline="0.57,0.17,0.95,0.75" />
<SplineDoubleKeyFrame KeyTime="0:0:2.017" Value="339" KeySpline="0,0.19,0.07,0.72" />
<SplineDoubleKeyFrame KeyTime="0:0:2.783" Value="421" />
<SplineDoubleKeyFrame KeyTime="0:0:3.217" Value="567" KeySpline="0,0,0.95,0.37" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E5R" BeginTime="00:00:00.668" Storyboard.TargetProperty="Angle">
<SplineDoubleKeyFrame KeyTime="0" Value="-134" KeySpline="0.13,0.21,0.1,0.7" />
<SplineDoubleKeyFrame KeyTime="0:0:0.433" Value="-14" KeySpline="0.02,0.33,0.38,0.77" />
<SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="69" />
<SplineDoubleKeyFrame KeyTime="0:0:1.617" Value="181" KeySpline="0.57,0.17,0.95,0.75" />
<SplineDoubleKeyFrame KeyTime="0:0:2.017" Value="331" KeySpline="0,0.19,0.07,0.72" />
<SplineDoubleKeyFrame KeyTime="0:0:2.783" Value="415" />
<SplineDoubleKeyFrame KeyTime="0:0:3.217" Value="561" KeySpline="0,0,0.95,0.37" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="E6R" BeginTime="00:00:00.835" Storyboard.TargetProperty="Angle">
<SplineDoubleKeyFrame KeyTime="0" Value="-140" KeySpline="0.13,0.21,0.1,0.7" />
<SplineDoubleKeyFrame KeyTime="0:0:0.433" Value="-20" KeySpline="0.02,0.33,0.38,0.77" />
<SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="63" />
<SplineDoubleKeyFrame KeyTime="0:0:1.617" Value="175" KeySpline="0.57,0.17,0.95,0.75" />
<SplineDoubleKeyFrame KeyTime="0:0:2.017" Value="325" KeySpline="0,0.19,0.07,0.72" />
<SplineDoubleKeyFrame KeyTime="0:0:2.783" Value="409" />
<SplineDoubleKeyFrame KeyTime="0:0:3.217" Value="555" KeySpline="0,0,0.95,0.37" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<!-- Provides full screen background overlay -->
<Border x:Name="BackgroundOverlay"
Grid.RowSpan="3"
Background="{TemplateBinding Background}"
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}"
Opacity="0" />
<!-- Rotating rings -->
<Grid x:Name="Ring"
Grid.Row="1"
Background="Transparent"
Width="{StaticResource ProgressRingThemeSize}"
Height="{StaticResource ProgressRingThemeSize}"
MaxWidth="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.MaxSideLength}"
MaxHeight="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.MaxSideLength}"
RenderTransformOrigin=".5,.5"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
FlowDirection="LeftToRight">
<Canvas RenderTransformOrigin=".5,.5">
<Canvas.RenderTransform>
<RotateTransform x:Name="E1R" />
</Canvas.RenderTransform>
<Ellipse x:Name="E1" Style="{StaticResource ProgressRingEllipseStyle}" Fill="{TemplateBinding Foreground}"/>
</Canvas>
<Canvas RenderTransformOrigin=".5,.5">
<Canvas.RenderTransform>
<RotateTransform x:Name="E2R" />
</Canvas.RenderTransform>
<Ellipse x:Name="E2" Style="{StaticResource ProgressRingEllipseStyle}" Fill="{TemplateBinding Foreground}"/>
</Canvas>
<Canvas RenderTransformOrigin=".5,.5">
<Canvas.RenderTransform>
<RotateTransform x:Name="E3R" />
</Canvas.RenderTransform>
<Ellipse x:Name="E3" Style="{StaticResource ProgressRingEllipseStyle}" Fill="{TemplateBinding Foreground}"/>
</Canvas>
<Canvas RenderTransformOrigin=".5,.5">
<Canvas.RenderTransform>
<RotateTransform x:Name="E4R" />
</Canvas.RenderTransform>
<Ellipse x:Name="E4" Style="{StaticResource ProgressRingEllipseStyle}" Fill="{TemplateBinding Foreground}"/>
</Canvas>
<Canvas RenderTransformOrigin=".5,.5">
<Canvas.RenderTransform>
<RotateTransform x:Name="E5R" />
</Canvas.RenderTransform>
<Ellipse x:Name="E5" Style="{StaticResource ProgressRingEllipseStyle}" Fill="{TemplateBinding Foreground}"/>
</Canvas>
<Canvas RenderTransformOrigin=".5,.5" Visibility="Collapsed" x:Name="SixthCircle">
<Canvas.RenderTransform>
<RotateTransform x:Name="E6R" />
</Canvas.RenderTransform>
<Ellipse x:Name="E6" Style="{StaticResource ProgressRingEllipseStyle}" Fill="{TemplateBinding Foreground}"/>
</Canvas>
</Grid>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Slider -->
<Style TargetType="Slider">
<Setter Property="Background" Value="{ThemeResource SliderTrackBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource SliderBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource SliderBorderThemeThickness}" />
<Setter Property="Foreground" Value="{ThemeResource SliderTrackDecreaseBackgroundThemeBrush}" />
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="ManipulationMode" Value="None" />
<Setter Property="IsThumbToolTipEnabled" Value="False" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Slider">
<Grid Margin="{TemplateBinding Padding}">
<Grid.Resources>
<Style TargetType="Thumb" x:Key="SliderThumbStyle">
<Setter Property="BorderThickness" Value="0.8" />
<Setter Property="BorderBrush" Value="{ThemeResource SliderThumbBorderThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource SliderThumbBackgroundThemeBrush}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Thumb">
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalBorder" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalBorder" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalDecreaseRect" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDecreaseDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalTrackRect" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalTrackRect" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalDecreaseRect" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDecreaseDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalTrackRect" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalTrackRect" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalThumb" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalThumb" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalThumb" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalThumb" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopTickBar" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkOutsideDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalInlineTickBar" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkInlineDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BottomTickBar" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkOutsideDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LeftTickBar" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkOutsideDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalInlineTickBar" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkInlineDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RightTickBar" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkOutsideDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ContentPresenter x:Name="HeaderContentPresenter" Style="{StaticResource HeaderContentPresenterStyle}"
Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" />
<Grid x:Name="SliderContainer" Background="Transparent" Grid.Row="1">
<Grid x:Name="HorizontalTemplate">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="17.5" />
<RowDefinition Height="Auto" />
<RowDefinition Height="30.5" />
</Grid.RowDefinitions>
<Rectangle x:Name="HorizontalTrackRect" Fill="{TemplateBinding Background}" Stroke="{ThemeResource SliderTrackBorderThemeBrush}" Grid.Row="1" Grid.ColumnSpan="3" />
<Rectangle x:Name="HorizontalDecreaseRect" Fill="{TemplateBinding Foreground}" Grid.Row="1" />
<TickBar x:Name="TopTickBar" Visibility="Collapsed" Fill="{ThemeResource SliderTickmarkOutsideBackgroundThemeBrush}"
Height="{ThemeResource SliderOutsideTickBarThemeHeight}" Grid.ColumnSpan="3" Margin="-4.5,0" />
<TickBar x:Name="HorizontalInlineTickBar" Visibility="Collapsed" Fill="{ThemeResource SliderTickMarkInlineBackgroundThemeBrush}"
Height="{ThemeResource SliderTrackThemeHeight}" Grid.Row="1" Grid.ColumnSpan="3" Margin="-4.5,0" />
<TickBar x:Name="BottomTickBar" Visibility="Collapsed" Fill="{ThemeResource SliderTickmarkOutsideBackgroundThemeBrush}"
Height="{ThemeResource SliderOutsideTickBarThemeHeight}" Grid.Row="2" Grid.ColumnSpan="3" Margin="-4.5,0" />
<Thumb x:Name="HorizontalThumb" Background="{ThemeResource SliderThumbBackgroundThemeBrush}" Style="{StaticResource SliderThumbStyle}"
DataContext="{TemplateBinding Value}" Height="19" Width="9.5" VerticalAlignment="Top" Margin="0,13,0,0" Grid.RowSpan="3"
Grid.Column="1" AutomationProperties.AccessibilityView="Raw"/>
<Rectangle x:Name="HorizontalBorder" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" Grid.RowSpan="3"
Grid.ColumnSpan="3" />
</Grid>
<Grid x:Name="VerticalTemplate" Visibility="Collapsed">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="13.5" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="13.5" />
</Grid.ColumnDefinitions>
<Rectangle x:Name="VerticalTrackRect" Fill="{TemplateBinding Background}" Stroke="{ThemeResource SliderTrackBorderThemeBrush}" Grid.Column="1" Grid.RowSpan="3" />
<Rectangle x:Name="VerticalDecreaseRect" Fill="{TemplateBinding Foreground}" Grid.Column="1" Grid.Row="2" />
<TickBar x:Name="LeftTickBar" Visibility="Collapsed" Fill="{ThemeResource SliderTickmarkOutsideBackgroundThemeBrush}"
Width="{ThemeResource SliderOutsideTickBarThemeHeight}" HorizontalAlignment="Right" Margin="0,0,1.5,0" Grid.RowSpan="3" />
<TickBar x:Name="VerticalInlineTickBar" Visibility="Collapsed" Fill="{ThemeResource SliderTickMarkInlineBackgroundThemeBrush}"
Width="{ThemeResource SliderTrackThemeHeight}" Grid.Column="1" Grid.RowSpan="3" />
<TickBar x:Name="RightTickBar" Visibility="Collapsed" Fill="{ThemeResource SliderTickmarkOutsideBackgroundThemeBrush}"
Width="{ThemeResource SliderOutsideTickBarThemeHeight}" HorizontalAlignment="Left" Margin="1.5,0,0,0" Grid.Column="2"
Grid.RowSpan="3" />
<Thumb x:Name="VerticalThumb" Background="{ThemeResource SliderThumbBackgroundThemeBrush}" Style="{StaticResource SliderThumbStyle}"
DataContext="{TemplateBinding Value}" Width="{ThemeResource SliderTrackThemeHeight}" Height="{ThemeResource SliderTrackThemeHeight}"
Grid.Row="1" Grid.Column="1" AutomationProperties.AccessibilityView="Raw"/>
<Rectangle x:Name="VerticalBorder" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" Grid.Column="1"
Grid.RowSpan="3" />
</Grid>
</Grid>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ToggleSwitch -->
<Style TargetType="ToggleSwitch">
<Setter Property="Foreground" Value="{ThemeResource ToggleSwitchForegroundThemeBrush}" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="Margin" Value="0" />
<Setter Property="Padding" Value="0,0,25.5,0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToggleSwitch">
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed" />
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OffContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OnContentPresenter" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnob" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchThumbDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnob" Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchThumbDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchOuterBorderDisabledBorderThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchCurtain" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchCurtainDisabledBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="ToggleStates">
<VisualStateGroup.Transitions>
<VisualTransition x:Name="DraggingToOnTransition" From="Dragging" To="On" GeneratedDuration="0">
<Storyboard>
<RepositionThemeAnimation Storyboard.TargetName="SwitchKnob"
FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobCurrentToOnOffset}" />
<RepositionThemeAnimation Storyboard.TargetName="SwitchCurtain"
FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.CurtainCurrentToOnOffset}" />
</Storyboard>
</VisualTransition>
<VisualTransition x:Name="DraggingToOffTransition" From="Dragging" To="Off" GeneratedDuration="0">
<Storyboard>
<RepositionThemeAnimation Storyboard.TargetName="SwitchKnob"
FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobCurrentToOffOffset}" />
<RepositionThemeAnimation Storyboard.TargetName="SwitchCurtain"
FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.CurtainCurrentToOffOffset}" />
</Storyboard>
</VisualTransition>
<VisualTransition x:Name="OnToOffTransition" From="On" To="Off" GeneratedDuration="0">
<Storyboard>
<RepositionThemeAnimation Storyboard.TargetName="SwitchKnob"
FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobOnToOffOffset}" />
<RepositionThemeAnimation Storyboard.TargetName="SwitchCurtain"
FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.CurtainOnToOffOffset}" />
</Storyboard>
</VisualTransition>
<VisualTransition x:Name="OffToOnTransition" From="Off" To="On" GeneratedDuration="0">
<Storyboard>
<RepositionThemeAnimation Storyboard.TargetName="SwitchKnob"
FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobOffToOnOffset}" />
<RepositionThemeAnimation Storyboard.TargetName="SwitchCurtain"
FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.CurtainOffToOnOffset}" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
<VisualState x:Name="Dragging" />
<VisualState x:Name="Off">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="CurtainTranslateTransform" Storyboard.TargetProperty="X" To="-64" Duration="0" />
</Storyboard>
</VisualState>
<VisualState x:Name="On">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="CurtainTranslateTransform" Storyboard.TargetProperty="X" To="0" Duration="0" />
<DoubleAnimation Storyboard.TargetName="KnobTranslateTransform" Storyboard.TargetProperty="X" To="56.5" Duration="0" />
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="ContentStates">
<VisualState x:Name="OffContent">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="OffContentPresenter" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="OffContentPresenter">
<DiscreteObjectKeyFrame KeyTime="0" Value="True" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="OnContent">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="OnContentPresenter" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="OnContentPresenter">
<DiscreteObjectKeyFrame KeyTime="0" Value="True" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="9.5"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="13.5"></ColumnDefinition>
<ColumnDefinition Width="77"></ColumnDefinition>
</Grid.ColumnDefinitions>
<!-- Header Presenter -->
<ContentPresenter x:Name="HeaderContentPresenter"
Margin="{TemplateBinding Padding}"
Style="{StaticResource HeaderContentPresenterStyle}"
Foreground="{ThemeResource ToggleSwitchHeaderForegroundThemeBrush}"
Content="{TemplateBinding Header}"
ContentTemplate="{TemplateBinding HeaderTemplate}"
AutomationProperties.AccessibilityView="Raw"/>
<!-- On/Off Presenters -->
<Grid Grid.Row="1" Margin="{TemplateBinding Padding}">
<!-- Off -->
<ContentPresenter x:Name="OffContentPresenter"
Opacity="0"
IsHitTestVisible="False"
FontFamily="{ThemeResource PhoneFontFamilyNormal}"
FontSize="{ThemeResource TextStyleExtraLargeFontSize}"
FontWeight="Normal"
Content="{TemplateBinding OffContent}"
ContentTemplate="{TemplateBinding OffContentTemplate}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
AutomationProperties.AccessibilityView="Raw"/>
<!-- On -->
<ContentPresenter x:Name="OnContentPresenter"
Opacity="0"
IsHitTestVisible="False"
FontFamily="{ThemeResource PhoneFontFamilyNormal}"
FontSize="{ThemeResource TextStyleExtraLargeFontSize}"
FontWeight="Normal"
Content="{TemplateBinding OnContent}"
ContentTemplate="{TemplateBinding OnContentTemplate}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
AutomationProperties.AccessibilityView="Raw"/>
</Grid>
<!-- Switch Knob -->
<Grid Grid.Row="0"
Grid.RowSpan="2"
Grid.Column="2"
ManipulationMode="None"
VerticalAlignment="Bottom">
<Grid x:Name="SwitchKnobBounds"
Height="36">
<Border x:Name="OuterBorder"
BorderBrush="{ThemeResource ToggleSwitchOuterBorderBorderThemeBrush}"
BorderThickness="2.5"
Margin="3,4.5,3,4.5">
<Border x:Name="InnerBorder"
BorderBrush="{ThemeResource ToggleSwitchTrackBorderThemeBrush}"
BorderThickness="2.5">
<ContentPresenter x:Name="SwitchCurtainBounds">
<ContentPresenter x:Name="SwitchCurtainClip">
<Rectangle x:Name="SwitchCurtain" Fill="{ThemeResource ToggleSwitchCurtainBackgroundThemeBrush}" Width="64">
<Rectangle.RenderTransform>
<TranslateTransform x:Name="CurtainTranslateTransform" X="-64" />
</Rectangle.RenderTransform>
</Rectangle>
</ContentPresenter>
</ContentPresenter>
</Border>
</Border>
<!-- Switch Knob Shape -->
<Rectangle x:Name="SwitchKnob"
Fill="{ThemeResource ToggleSwitchThumbBackgroundThemeBrush}"
Stroke="{ThemeResource ToggleSwitchThumbBorderThemeBrush}"
StrokeThickness="2.5"
Width="20.5"
HorizontalAlignment="Left">
<Rectangle.RenderTransform>
<TranslateTransform x:Name="KnobTranslateTransform" />
</Rectangle.RenderTransform>
</Rectangle>
</Grid>
<!-- Thumb UI trigger surface, it sets a resonable touch/drag margin around the
switch knob. -->
<Thumb x:Name="SwitchThumb"
Margin="-13.5,-15.5,-13.5,-6.5"
AutomationProperties.AccessibilityView="Raw">
<Thumb.Template>
<ControlTemplate TargetType="Thumb">
<Rectangle Fill="Transparent" />
</ControlTemplate>
</Thumb.Template>
</Thumb>
</Grid>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.FlipView -->
<Style TargetType="FlipView">
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="TabNavigation" Value="Once" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden" />
<Setter Property="ScrollViewer.IsHorizontalRailEnabled" Value="False" />
<Setter Property="ScrollViewer.IsVerticalRailEnabled" Value="False" />
<Setter Property="ScrollViewer.IsHorizontalScrollChainingEnabled" Value="True" />
<Setter Property="ScrollViewer.IsVerticalScrollChainingEnabled" Value="True" />
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" />
<Setter Property="ScrollViewer.BringIntoViewOnFocusChange" Value="True" />
<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<VirtualizingStackPanel AreScrollSnapPointsRegular="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="FlipView">
<Grid>
<VisualStateManager.VisualStateGroups></VisualStateManager.VisualStateGroups>
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"
Margin="2.5">
<Border.Resources></Border.Resources>
<Grid>
<ScrollViewer x:Name="ScrollingHost" VerticalSnapPointsType="MandatorySingle" HorizontalSnapPointsType="MandatorySingle"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
IsHorizontalScrollChainingEnabled="{TemplateBinding ScrollViewer.IsHorizontalScrollChainingEnabled}"
IsVerticalScrollChainingEnabled="{TemplateBinding ScrollViewer.IsVerticalScrollChainingEnabled}"
IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}"
BringIntoViewOnFocusChange="{TemplateBinding ScrollViewer.BringIntoViewOnFocusChange}" Padding="{TemplateBinding Padding}"
ZoomMode="Disabled" TabNavigation="{TemplateBinding TabNavigation}" IsTabStop="False"
AutomationProperties.AccessibilityView="Raw">
<ItemsPresenter />
</ScrollViewer>
</Grid>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.FlipViewItem -->
<Style TargetType="FlipViewItem">
<Setter Property="Background" Value="Transparent" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="TabNavigation" Value="Local" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="FlipViewItem">
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
<ContentPresenter Content="{TemplateBinding Content}" ContentTransitions="{TemplateBinding ContentTransitions}"
ContentTemplate="{TemplateBinding ContentTemplate}" Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.GroupItem -->
<Style TargetType="GroupItem">
<Setter Property="IsTabStop" Value="False" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="GroupItem">
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ContentControl x:Name="HeaderContent" Content="{TemplateBinding Content}" ContentTransitions="{TemplateBinding ContentTransitions}"
ContentTemplate="{TemplateBinding ContentTemplate}" ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
Margin="{TemplateBinding Padding}" TabIndex="0" IsTabStop="False" />
<ItemsControl x:Name="ItemsControl" Grid.Row="1" ItemsSource="{Binding GroupItems}" IsTabStop="False" TabNavigation="Once" TabIndex="1">
<ItemsControl.ItemContainerTransitions>
<TransitionCollection>
<AddDeleteThemeTransition />
<ReorderThemeTransition />
</TransitionCollection>
</ItemsControl.ItemContainerTransitions>
</ItemsControl>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Frame -->
<Style TargetType="Frame">
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="Background" Value="{ThemeResource SystemColorWindowBrush}"/>
<Setter Property="ContentTransitions">
<Setter.Value>
<TransitionCollection>
<animation:NavigationThemeTransition />
</TransitionCollection>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Frame">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<ContentPresenter Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
ContentTransitions="{TemplateBinding ContentTransitions}"
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.FlyoutPresenter -->
<Style TargetType="FlyoutPresenter">
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="Background" Value="{ThemeResource FlyoutBackgroundThemeBrush}" />
<Setter Property="Padding" Value="0" />
<Setter Property="MinHeight" Value="{ThemeResource FlyoutThemeMinHeight}" />
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.ZoomMode" Value="Disabled" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="FlyoutPresenter">
<Border x:Name="Background"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
FlowDirection="LeftToRight">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="OrientationStates">
<VisualState x:Name="Portrait"/>
<VisualState x:Name="Landscape">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ScrollViewer" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlyoutContentPanelLandscapeThemeMargin}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ScrollViewer x:Name="ScrollViewer" ZoomMode="{TemplateBinding ScrollViewer.ZoomMode}"
Margin="{ThemeResource FlyoutContentPanelPortraitThemeMargin}"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
AutomationProperties.AccessibilityView="Raw"
FlowDirection="{TemplateBinding FlowDirection}">
<ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
ContentTransitions="{TemplateBinding ContentTransitions}" Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</ScrollViewer>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.MenuFlyoutPresenter -->
<Style TargetType="MenuFlyoutPresenter">
<Setter Property="Background" Value="{ThemeResource MenuFlyoutBackgroundThemeBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource MenuFlyoutBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource MenuFlyoutPortraitBorderThemeThickness}" />
<Setter Property="Padding" Value="{ThemeResource MenuFlyoutPortraitThemePadding}" />
<Setter Property="MinHeight" Value="{ThemeResource FlyoutThemeMinHeight}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleExtraLargeFontSize}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilySemiLight}" />
<Setter Property="CharacterSpacing" Value="-15" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="MenuFlyoutPresenter">
<Border x:Name="OuterBorder" FlowDirection="LeftToRight" BorderBrush="{TemplateBinding BorderBrush}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="PlacementStates">
<VisualState x:Name="None" />
<VisualState x:Name="TopPortrait">
<Storyboard>
<PointAnimation Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="RenderTransformOrigin" Duration="0:0:0" To="0,1" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame KeyTime="0" Value="0,0,0,1.5" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.50" Value="{ThemeResource MenuFlyoutPortraitBorderThemeThickness}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CenterBorder" Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame KeyTime="0" Value="0,0,0,1.5" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.50" Value="{ThemeResource MenuFlyoutPortraitBorderThemeThickness}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ItemsPresenter" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutPortraitThemePadding}" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="OuterScaleTransform" Storyboard.TargetProperty="ScaleX" Duration="0:0:0.38" From="0.0" To="1.0" />
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="InnerScaleTransform" Storyboard.TargetProperty="ScaleY">
<LinearDoubleKeyFrame KeyTime="0:0:0" Value="0.0" />
<LinearDoubleKeyFrame KeyTime="0:0:0.38" Value="0.0" />
<LinearDoubleKeyFrame KeyTime="0:0:0.50" Value="1.0" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="BottomPortrait">
<Storyboard>
<PointAnimation Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="RenderTransformOrigin" Duration="0:0:0" To="0,0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame KeyTime="0" Value="0,1.5,0,0" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.50" Value="{ThemeResource MenuFlyoutPortraitBorderThemeThickness}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CenterBorder" Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame KeyTime="0" Value="0,1.5,0,0" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.50" Value="{ThemeResource MenuFlyoutPortraitBorderThemeThickness}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ItemsPresenter" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutPortraitThemePadding}" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="OuterScaleTransform" Storyboard.TargetProperty="ScaleX" Duration="0:0:0.38" From="0.0" To="1.0" />
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="InnerScaleTransform" Storyboard.TargetProperty="ScaleY">
<LinearDoubleKeyFrame KeyTime="0:0:0" Value="0.0" />
<LinearDoubleKeyFrame KeyTime="0:0:0.38" Value="0.0" />
<LinearDoubleKeyFrame KeyTime="0:0:0.50" Value="1.0" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="LeftLandscape">
<Storyboard>
<PointAnimation Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="RenderTransformOrigin" Duration="0:0:0" To="1,0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame KeyTime="0" Value="0,0,1.5,0" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.50" Value="{ThemeResource MenuFlyoutLeftLandscapeBorderThemeThickness}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CenterBorder" Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame KeyTime="0" Value="0,0,1.5,0" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.50" Value="{ThemeResource MenuFlyoutLeftLandscapeBorderThemeThickness}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ItemsPresenter" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutLandscapeThemePadding}" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="OuterScaleTransform" Storyboard.TargetProperty="ScaleY" Duration="0:0:0.38" From="0.0" To="1.0" />
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="InnerScaleTransform" Storyboard.TargetProperty="ScaleX">
<LinearDoubleKeyFrame KeyTime="0:0:0" Value="0.0" />
<LinearDoubleKeyFrame KeyTime="0:0:0.38" Value="0.0" />
<LinearDoubleKeyFrame KeyTime="0:0:0.50" Value="1.0" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="RightLandscape">
<Storyboard>
<PointAnimation Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="RenderTransformOrigin" Duration="0:0:0" To="0,0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame KeyTime="0" Value="1.5,0,0,0" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.50" Value="{ThemeResource MenuFlyoutRightLandscapeBorderThemeThickness}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CenterBorder" Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame KeyTime="0" Value="1.5,0,0,0" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.50" Value="{ThemeResource MenuFlyoutRightLandscapeBorderThemeThickness}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ItemsPresenter" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutLandscapeThemePadding}" />
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="OuterScaleTransform" Storyboard.TargetProperty="ScaleY" Duration="0:0:0.38" From="0.0" To="1.0" />
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="InnerScaleTransform" Storyboard.TargetProperty="ScaleX">
<LinearDoubleKeyFrame KeyTime="0:0:0" Value="0.0" />
<LinearDoubleKeyFrame KeyTime="0:0:0.38" Value="0.0" />
<LinearDoubleKeyFrame KeyTime="0:0:0.50" Value="1.0" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border.RenderTransform>
<ScaleTransform x:Name="OuterScaleTransform" />
</Border.RenderTransform>
<Border x:Name="CenterBorder" FlowDirection="LeftToRight" BorderBrush="{TemplateBinding Background}">
<StackPanel x:Name="InnerBorder" FlowDirection="{TemplateBinding FlowDirection}" Background="{TemplateBinding Background}">
<StackPanel.RenderTransform>
<ScaleTransform x:Name="InnerScaleTransform" />
</StackPanel.RenderTransform>
<ItemsPresenter x:Name="ItemsPresenter" Margin="{TemplateBinding Padding}" FlowDirection="{TemplateBinding FlowDirection}" />
</StackPanel>
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.MenuFlyoutItem -->
<Style TargetType="MenuFlyoutItem">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Padding" Value="{ThemeResource MenuFlyoutItemThemePadding}" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="MenuFlyoutItem">
<Border x:Name="LayoutRoot" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="InnerBorder" />
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="PointerOver">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="InnerBorder" />
</Storyboard>
</VisualTransition>
<VisualTransition From="PointerOver" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="InnerBorder" />
</Storyboard>
</VisualTransition>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="InnerBorder" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border x:Name="InnerBorder" Padding="{TemplateBinding Padding}">
<TextBlock x:Name="TextBlock"
Text="{TemplateBinding Text}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ToggleMenuFlyoutItem -->
<Style TargetType="ToggleMenuFlyoutItem">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Padding" Value="{ThemeResource MenuFlyoutItemThemePadding}" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToggleMenuFlyoutItem">
<Border x:Name="LayoutRoot" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="PointerOver" />
<VisualState x:Name="Pressed">
<Storyboard>
<PointerDownThemeAnimation Storyboard.TargetName="InnerBorder" />
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemDisabledForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualStateGroup.Transitions>
<VisualTransition From="Pressed" To="PointerOver">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="InnerBorder" />
</Storyboard>
</VisualTransition>
<VisualTransition From="PointerOver" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="InnerBorder" />
</Storyboard>
</VisualTransition>
<VisualTransition From="Pressed" To="Normal">
<Storyboard>
<PointerUpThemeAnimation Storyboard.TargetName="InnerBorder" />
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border x:Name="InnerBorder" Padding="{TemplateBinding Padding}">
<TextBlock x:Name="TextBlock"
Text="{TemplateBinding Text}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Hub -->
<Style TargetType="Hub">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Hub">
<Grid x:Name="HubRoot">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="BackgroundImageLoadStates">
<VisualState x:Name="BackgroundHidden">
<Storyboard>
<FadeOutThemeAnimation Storyboard.TargetName="Background" />
</Storyboard>
</VisualState>
<VisualState x:Name="BackgroundImageFadingIn">
<Storyboard>
<FadeInThemeAnimation Storyboard.TargetName="Background" />
</Storyboard>
</VisualState>
<VisualState x:Name="BackgroundShowing">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity" To="1" />
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.Projection>
<PlaneProjection x:Name="EntranceAnimationProjection"/>
</Grid.Projection>
<Canvas Grid.RowSpan="2">
<Canvas.Clip>
<RectangleGeometry x:Name="BackgroundClipRect" />
</Canvas.Clip>
<Grid x:Name="Background">
<Grid.RenderTransform>
<CompositeTransform x:Name="BackgroundParallaxTransform" />
</Grid.RenderTransform>
<Border x:Name="WrapBackground" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
<Border.RenderTransform>
<CompositeTransform x:Name="WrapBackgroundParallaxTransform" />
</Border.RenderTransform>
</Border>
<Border x:Name="MainBackground" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"></Border>
</Grid>
</Canvas>
<ScrollViewer x:Name="ScrollViewer" Grid.RowSpan="2" HorizontalScrollMode="Auto" HorizontalScrollBarVisibility="Hidden"
VerticalScrollMode="Disabled" VerticalScrollBarVisibility="Disabled" HorizontalSnapPointsType="None"
HorizontalAlignment="Left" ZoomMode="Disabled" Template="{StaticResource ScrollViewerScrollBarlessTemplate}">
<ItemsStackPanel x:Name="Panel" Orientation="{TemplateBinding Orientation}" CacheLength="6"></ItemsStackPanel>
</ScrollViewer>
<Canvas Grid.Row="0">
<Canvas.Clip>
<RectangleGeometry x:Name="HeaderClipRect" />
</Canvas.Clip>
<ContentControl x:Name="HeaderHost"
Margin="{StaticResource HubHeaderMarginThickness}"
FontSize="{StaticResource HubHeaderFontSize}"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontWeight="Light"
CharacterSpacing="{StaticResource HubHeaderCharacterSpacing}"
Content="{TemplateBinding Header}"
ContentTemplate="{TemplateBinding HeaderTemplate}">
<ContentControl.RenderTransform>
<TransformGroup>
<CompositeTransform x:Name="HeaderParallaxTransform" />
<TranslateTransform x:Name="HeaderFlyinFlyoutTransform"/>
</TransformGroup>
</ContentControl.RenderTransform>
</ContentControl>
</Canvas>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for HubSection -->
<Style TargetType="HubSection">
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="HubSection">
<Grid Margin="{StaticResource HubSectionMarginThickness}" Background="{TemplateBinding Background}">
<Grid.RenderTransform>
<CompositeTransform x:Name="WrappingTransform" />
</Grid.RenderTransform>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Rectangle x:Name="HubHeaderPlaceholder" Grid.Row="0" />
<ContentControl x:Name="Header"
Grid.Row="1"
Margin="{StaticResource HubSectionHeaderMarginThickness}"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource HubSectionHeaderFontSize}"
FontWeight="SemiBold"
CharacterSpacing="{StaticResource HubSectionHeaderCharacterSpacing}"
Content="{TemplateBinding Header}"
ContentTemplate="{TemplateBinding HeaderTemplate}"
HorizontalAlignment="Left">
<ContentControl.RenderTransform>
<CompositeTransform x:Name="StickyHeaderTransform" />
</ContentControl.RenderTransform>
</ContentControl>
<ContentPresenter x:Name="ContentPresenter" Grid.Row="2" ContentTemplate="{TemplateBinding ContentTemplate}" Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Pivot -->
<Style TargetType="controls:Pivot">
<Setter Property="Margin" Value="0" />
<Setter Property="Padding" Value="0" />
<Setter Property="Foreground" Value="{ThemeResource PhoneForegroundBrush}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<Grid />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:Pivot">
<Grid
x:Name="RootElement"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
VerticalAlignment="{TemplateBinding VerticalAlignment}"
Background="{TemplateBinding Background}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="Orientation">
<VisualState x:Name="Portrait">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TitleContentControl" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PivotPortraitThemePadding}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Landscape">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TitleContentControl" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PivotLandscapeThemePadding}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ContentControl x:Name="TitleContentControl"
Style="{StaticResource PivotTitleContentControlStyle}"
Content="{TemplateBinding Title}"
ContentTemplate="{TemplateBinding TitleTemplate}"/>
<ScrollViewer
x:Name="ScrollViewer"
Margin="{TemplateBinding Padding}"
Grid.Row="1"
HorizontalSnapPointsType="MandatorySingle"
HorizontalSnapPointsAlignment="Center"
HorizontalScrollBarVisibility="Hidden"
VerticalScrollMode="Disabled"
VerticalScrollBarVisibility="Disabled"
VerticalSnapPointsType="None"
VerticalContentAlignment="Stretch"
ZoomMode="Disabled"
Template="{StaticResource ScrollViewerScrollBarlessTemplate}">
<primitives:PivotPanel x:Name="Panel" VerticalAlignment="Stretch">
<primitives:PivotHeaderPanel x:Name="Header">
<primitives:PivotHeaderPanel.RenderTransform>
<CompositeTransform x:Name="HeaderTranslateTransform" TranslateX="0" />
</primitives:PivotHeaderPanel.RenderTransform>
</primitives:PivotHeaderPanel>
<ItemsPresenter x:Name="PivotItemPresenter">
<ItemsPresenter.RenderTransform>
<TranslateTransform x:Name="ItemsPresenterTranslateTransform" X="0" />
</ItemsPresenter.RenderTransform>
</ItemsPresenter>
</primitives:PivotPanel>
</ScrollViewer>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.PivotItem -->
<Style TargetType="controls:PivotItem">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Margin" Value="{ThemeResource PivotItemMargin}"/>
<Setter Property="Padding" Value="0" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:PivotItem">
<Grid Background="{TemplateBinding Background}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="Pivot">
<VisualState x:Name="Right" />
<VisualState x:Name="Left" />
<VisualState x:Name="Center" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Margin="{TemplateBinding Padding}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.PivotHeaderItem -->
<Style TargetType="primitives:PivotHeaderItem">
<Setter Property="FontSize" Value="{ThemeResource PivotHeaderItemFontSize}" />
<Setter Property="FontFamily" Value="{ThemeResource PivotHeaderItemFontFamily}" />
<Setter Property="CharacterSpacing" Value="{ThemeResource PivotHeaderItemCharacterSpacing}" />
<Setter Property="Background" Value="{ThemeResource PivotHeaderBackgroundUnselectedBrush}" />
<Setter Property="Foreground" Value="{ThemeResource PivotHeaderForegroundUnselectedBrush}" />
<Setter Property="Margin" Value="{ThemeResource PivotHeaderItemMargin}" />
<Setter Property="Padding" Value="{ThemeResource PivotHeaderItemPadding}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="primitives:PivotHeaderItem">
<Grid x:Name="Grid">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="SelectionStates">
<VisualStateGroup.Transitions>
<VisualTransition From="Unselected" To="UnselectedLocked" GeneratedDuration="0:0:0.33" />
<VisualTransition From="UnselectedLocked" To="Unselected" GeneratedDuration="0:0:0.33" />
</VisualStateGroup.Transitions>
<VisualState x:Name="Unselected" />
<VisualState x:Name="UnselectedLocked">
<Storyboard>
<DoubleAnimation Duration="0" To="{ThemeResource PhonePivotLockedTranslation}" Storyboard.TargetProperty="X" Storyboard.TargetName="ContentPresenterTranslateTransform" />
<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ContentPresenter" />
</Storyboard>
</VisualState>
<VisualState x:Name="Selected">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PivotHeaderForegroundSelectedBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="Grid">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PivotHeaderBackgroundSelectedBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ContentPresenter x:Name="ContentPresenter" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}">
<ContentPresenter.RenderTransform>
<TranslateTransform x:Name="ContentPresenterTranslateTransform" />
</ContentPresenter.RenderTransform>
</ContentPresenter>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.LoopingSelector -->
<Style TargetType="primitives:LoopingSelector">
<Setter Property="ShouldLoop" Value="True" />
<Setter Property="ItemTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="5,5,0,5">
<TextBlock Text="{Binding PrimaryText}" FontFamily="{ThemeResource PhoneFontFamilyNormal}" FontSize="45" FontWeight="SemiBold" CharacterSpacing="-24" Margin="0.8,-6.5" />
<TextBlock Text="{Binding SecondaryText}" FontFamily="{ThemeResource PhoneFontFamilyNormal}" FontSize="17" FontWeight="SemiBold" Margin="0.8,-0.8" />
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Control">
<ScrollViewer x:Name="ScrollViewer" VerticalSnapPointsType="Mandatory" VerticalSnapPointsAlignment="Near" VerticalScrollBarVisibility="Hidden"
HorizontalScrollMode="Disabled" ZoomMode="Disabled" Template="{StaticResource ScrollViewerScrollBarlessTemplate}">
</ScrollViewer>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.LoopingSelectorItem -->
<Style TargetType="primitives:LoopingSelectorItem">
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Stretch" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Bottom" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="primitives:LoopingSelectorItem">
<Grid x:Name="Root" Background="Transparent" Margin="5" Opacity="0">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualStateGroup.Transitions>
<VisualTransition From="Normal" To="Expanded" GeneratedDuration="0:0:0.33" />
<VisualTransition From="Expanded" To="Normal" GeneratedDuration="0:0:0.33" />
</VisualStateGroup.Transitions>
<VisualState x:Name="Normal" />
<VisualState x:Name="Expanded">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="Root" Storyboard.TargetProperty="Opacity" To="1.0" Duration="0" />
</Storyboard>
</VisualState>
<VisualState x:Name="Selected">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="Root" Storyboard.TargetProperty="Opacity" To="1.0" Duration="0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0">
<ObjectAnimationUsingKeyFrames.KeyFrames>
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
</ObjectAnimationUsingKeyFrames.KeyFrames>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground" Duration="0">
<ObjectAnimationUsingKeyFrames.KeyFrames>
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource LoopingSelectorSelectionForegroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames.KeyFrames>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" Storyboard.TargetProperty="Background" Duration="0">
<ObjectAnimationUsingKeyFrames.KeyFrames>
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource LoopingSelectorSelectionBackgroundThemeBrush}" />
</ObjectAnimationUsingKeyFrames.KeyFrames>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RenderTransform>
<ScaleTransform x:Name="ContentScaleTransform"/>
</Grid.RenderTransform>
<Border x:Name="Border" BorderThickness="2.5" BorderBrush="{ThemeResource LoopingSelectorForegroundThemeBrush}">
<ContentPresenter x:Name="ContentPresenter" Foreground="{ThemeResource LoopingSelectorForegroundThemeBrush}"
Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" AutomationProperties.AccessibilityView="Raw"/>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.PickerFlyoutPresenter -->
<Style TargetType="controls:PickerFlyoutPresenter">
<Setter Property="Background" Value="{ThemeResource FlyoutBackgroundThemeBrush}" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" />
<Setter Property="ScrollViewer.ZoomMode" Value="Disabled" />
<Setter Property="AutomationProperties.AutomationId" Value="PickerFlyoutPresenter" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:PickerFlyoutPresenter">
<Border x:Name="Background"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
FlowDirection="LeftToRight">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="OrientationStates">
<VisualState x:Name="Portrait"/>
<VisualState x:Name="Landscape">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPanel" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PickerFlyoutContentPanelLandscapeThemeMargin}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="ContentPanel"
Margin="{ThemeResource PickerFlyoutContentPanelPortraitThemeMargin}"
FlowDirection="{TemplateBinding FlowDirection}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock x:Name="TitlePresenter"
Margin="{ThemeResource PickerFlyoutTitleThemeMargin}"
Style="{StaticResource TitleTextBlockStyle}"/>
<ScrollViewer Grid.Row="1"
Margin="{ThemeResource FlyoutContentThemeMargin}"
ZoomMode="{TemplateBinding ScrollViewer.ZoomMode}"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}">
<ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTransitions="{TemplateBinding ContentTransitions}" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</ScrollViewer>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.DatePickerFlyoutPresenter -->
<Style TargetType="controls:DatePickerFlyoutPresenter">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="Background" Value="{ThemeResource FlyoutBackgroundThemeBrush}" />
<Setter Property="AutomationProperties.AutomationId" Value="DatePickerFlyoutPresenter" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:DatePickerFlyoutPresenter">
<Border x:Name="Background"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
FlowDirection="LeftToRight">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="OrientationStates">
<VisualState x:Name="Portrait"/>
<VisualState x:Name="Landscape">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPanel" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource DateTimeFlyoutContentPanelLandscapeThemeMargin}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="ContentPanel"
Margin="{ThemeResource DateTimeFlyoutContentPanelPortraitThemeMargin}"
FlowDirection="{TemplateBinding FlowDirection}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock x:Name="TitlePresenter"
Margin="{ThemeResource DateTimeFlyoutTitleThemeMargin}"
Grid.ColumnSpan="5"
Style="{StaticResource TitleTextBlockStyle}" />
<Border x:Name="FirstPickerHost" Grid.Row="1" Grid.Column="1" />
<Border x:Name="SecondPickerHost" Grid.Row="1" Grid.Column="2" />
<Border x:Name="ThirdPickerHost" Grid.Row="1" Grid.Column="3" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.TimePickerFlyoutPresenter -->
<Style TargetType="controls:TimePickerFlyoutPresenter">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="Background" Value="{ThemeResource FlyoutBackgroundThemeBrush}" />
<Setter Property="AutomationProperties.AutomationId" Value="TimePickerFlyoutPresenter" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:TimePickerFlyoutPresenter">
<Border x:Name="Background"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
FlowDirection="LeftToRight">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="OrientationStates">
<VisualState x:Name="Portrait"/>
<VisualState x:Name="Landscape">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPanel" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource DateTimeFlyoutContentPanelLandscapeThemeMargin}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border.Resources>
<DataTemplate x:Key="ItemTemplate">
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="5">
<TextBlock Text="{Binding PrimaryText}" FontSize="43" Margin="0.8,-5" />
</StackPanel>
</DataTemplate>
</Border.Resources>
<Grid x:Name="ContentPanel"
Margin="{ThemeResource DateTimeFlyoutContentPanelPortraitThemeMargin}"
FlowDirection="{TemplateBinding FlowDirection}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock x:Name="TitlePresenter"
Margin="{ThemeResource DateTimeFlyoutTitleThemeMargin}"
Grid.ColumnSpan="5"
Style="{StaticResource TitleTextBlockStyle}" />
<Border x:Name="FirstPickerHost" Grid.Row="1" Grid.Column="1" />
<Border x:Name="SecondPickerHost" Grid.Row="1" Grid.Column="2" />
<Border x:Name="ThirdPickerHost" Grid.Row="1" Grid.Column="3" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ContentDialog -->
<!-- NOTE: Because this type didn't ship in WinBlue, we use a prefix to trick the
XAML parser to not only consider its own type table when parsing, even though
this exists in a jupiter-owned namespace. -->
<Style TargetType="controls:ContentDialog">
<Setter Property="Background" Value="{ThemeResource ContentDialogBackgroundThemeBrush}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:ContentDialog">
<Border x:Name="Container">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="Orientation">
<VisualState x:Name="Portrait" />
<VisualState x:Name="Landscape">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Width" Storyboard.TargetName="ContentPanel" EnableDependentAnimation="True">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ContentDialogContentLandscapeWidth}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="ContentPanel">
<DiscreteObjectKeyFrame KeyTime="0" Value="Left" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Border x:Name="BackgroundElement"
Background="{TemplateBinding Background}"
FlowDirection="LeftToRight">
<Border FlowDirection="{TemplateBinding FlowDirection}">
<Grid x:Name="ContentPanel">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" MinHeight="{ThemeResource ContentDialogTitleMinHeight}" />
<RowDefinition Height="Auto" MinHeight="{ThemeResource ContentDialogContentMinHeight}" />
<RowDefinition Height="Auto" MinHeight="{ThemeResource ContentDialogButtonsMinHeight}" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<ContentControl x:Name="Title"
Margin="{ThemeResource ContentDialogTitleMargin}"
Content="{TemplateBinding Title}"
ContentTemplate="{TemplateBinding TitleTemplate}"
FontSize="{StaticResource TextStyleExtraLargeFontSize}"
FontFamily="{ThemeResource PhoneFontFamilyNormal}"
FontWeight="SemiBold"
Grid.ColumnSpan="2" />
<ContentPresenter x:Name="Content"
ContentTemplate="{TemplateBinding ContentTemplate}"
Content="{TemplateBinding Content}"
FontSize="{StaticResource TextStyleLargeFontSize}"
FontFamily="{ThemeResource PhoneFontFamilyNormal}"
Margin="{ThemeResource ContentDialogContentMargin}"
Grid.Row="1"
Grid.ColumnSpan="2" />
<Border x:Name="Button1Host" Padding="{ThemeResource ContentDialogButton1HostPadding}" Grid.Row="2" />
<Border x:Name="Button2Host" Padding="{ThemeResource ContentDialogButton2HostPadding}" Grid.Row="2" Grid.Column="1" />
</Grid>
</Border>
</Border>
</Grid >
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.ListPickerFlyoutPresenter -->
<Style TargetType="controls:ListPickerFlyoutPresenter">
<Setter Property="Background" Value="{ThemeResource FlyoutBackgroundThemeBrush}" />
<Setter Property="AutomationProperties.AutomationId" Value="ListPickerFlyoutPresenter" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:ListPickerFlyoutPresenter">
<Border x:Name="Background"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
FlowDirection="LeftToRight">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="OrientationStates">
<VisualState x:Name="Portrait"/>
<VisualState x:Name="Landscape">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPanel" Storyboard.TargetProperty="Margin">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PickerFlyoutContentPanelLandscapeThemeMargin}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="ContentPanel"
Margin="{ThemeResource PickerFlyoutContentPanelPortraitThemeMargin}"
FlowDirection="{TemplateBinding FlowDirection}">
<Grid.RenderTransform>
<TranslateTransform x:Name="ContentPanelTransform"/>
</Grid.RenderTransform>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock x:Name="TitlePresenter"
Grid.Row="0" Margin="{ThemeResource PickerFlyoutTitleThemeMargin}"
Style="{StaticResource FlyoutPickerTitleTextBlockStyle}"
AutomationProperties.AccessibilityView="Raw"/>
<Grid x:Name="ItemsHostPanel"
Grid.Row="1"
Margin="{ThemeResource FlyoutContentThemeMargin}"
HorizontalAlignment="Stretch"
VerticalAlignment="Top">
</Grid>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Default style for Windows.UI.Xaml.Controls.Maps.MapControl -->
<Style TargetType="maps:MapControl">
<Setter Property="Background" Value="{ThemeResource ApplicationPageBackgroundThemeBrush}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="maps:MapControl">
<Border x:Name="MapBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0" Background="{TemplateBinding Background}">
<Grid x:Name="RootGrid">
<Grid x:Name="MapGrid" />
<Grid x:Name="LayerGrid" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!--
*****************************************************************
RICH/TEXTBLOCK STYLES
*****************************************************************
-->
<Style x:Key="BaseTextBlockStyle" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleLargeFontSize}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneForegroundBrush}" />
<Setter Property="TextTrimming" Value="Clip" />
<Setter Property="TextWrapping" Value="WrapWholeWords" />
<Setter Property="LineHeight" Value="21.5" />
<Setter Property="LineStackingStrategy" Value="BaselineToBaseline" />
<Setter Property="TextLineBounds" Value="Full" />
<Setter Property="OpticalMarginAlignment" Value="TrimSideBearings" />
</Style>
<Style x:Key="BaseRichTextBlockStyle" TargetType="RichTextBlock">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleMediumFontSize}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneForegroundBrush}" />
<Setter Property="TextTrimming" Value="Clip" />
<Setter Property="TextWrapping" Value="WrapWholeWords" />
<Setter Property="LineHeight" Value="21.5" />
<Setter Property="LineStackingStrategy" Value="BaselineToBaseline" />
<Setter Property="TextLineBounds" Value="Full" />
<Setter Property="OpticalMarginAlignment" Value="TrimSideBearings" />
</Style>
<!-- list styles -->
<Style x:Key="ListViewItemTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilySemiLight}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleExtraLargePlusFontSize}" />
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="LineHeight" Value="33.5" />
</Style>
<Style x:Key="ListViewEmptyStaticTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilySemiLight}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleExtraLargePlusFontSize}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneMidBrush}" />
<Setter Property="LineHeight" Value="33.5" />
</Style>
<Style x:Key="ListViewItemSubheaderTextBlockStyle" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilySemiLight}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleMediumFontSize}" />
<Setter Property="TextLineBounds" Value="Full" />
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="LineHeight" Value="20" />
<Setter Property="Foreground" Value="{ThemeResource PhoneMidBrush}" />
</Style>
<Style x:Key="ListViewItemContentTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource ListViewItemSubheaderTextBlockStyle}">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneForegroundBrush}" />
</Style>
<!-- body text styles -->
<Style x:Key="BodyTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="LineHeight" Value="24" />
</Style>
<Style x:Key="BodyRichTextBlockStyle" TargetType="RichTextBlock" BasedOn="{StaticResource BaseRichTextBlockStyle}">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}"/>
<Setter Property="FontSize" Value="18"/>
<Setter Property="FontWeight" Value="Normal"/>
<Setter Property="LineHeight" Value="24"/>
</Style>
<!-- controls styles -->
<Style x:Key="FlyoutPickerListViewItemContentPresenterStyle" TargetType="ContentPresenter">
<Setter Property="FontSize" Value="{ThemeResource TextStyleExtraLargeFontSize}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilySemiLight}" />
</Style>
<Style x:Key="ControlHeaderContentPresenterStyle" TargetType="ContentPresenter">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleMediumFontSize}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneMidBrush}" />
</Style>
<Style x:Key="ControlHeaderTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleMediumFontSize}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneMidBrush}" />
<Setter Property="LineHeight" Value="17.5" />
</Style>
<Style x:Key="ControlContextualInfoTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontSize" Value="{ThemeResource TextStyleMediumFontSize}" />
<Setter Property="Foreground" Value="{ThemeResource PhoneMidBrush}" />
<Setter Property="LineHeight" Value="17.5" />
</Style>
<Style x:Key="GroupHeaderTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilySemiLight}" />
<Setter Property="FontSize" Value="23.73" />
<Setter Property="Foreground" Value="{ThemeResource PhoneMidBrush}" />
<Setter Property="LineHeight" Value="23" />
<Setter Property="CharacterSpacing" Value="-3" />
</Style>
<Style x:Key="ComboBoxPlaceholderTextBlockStyle" TargetType="TextBlock">
<!-- IMPORTANT! Must not be based on BaseTextBlockStyle and must not set Foreground -->
<Setter Property="FontSize" Value="{ThemeResource ContentControlFontSize}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="TextTrimming" Value="Clip" />
<Setter Property="LineStackingStrategy" Value="BaselineToBaseline" />
<Setter Property="TextLineBounds" Value="Full" />
<Setter Property="OpticalMarginAlignment" Value="TrimSideBearings" />
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="LineHeight" Value="30" />
<Setter Property="Margin" Value="{ThemeResource ComboBoxFlyoutListPlaceholderTextThemeMargin}" />
<Setter Property="Opacity" Value="{ThemeResource ComboBoxFlyoutListPlaceholderTextOpacity}" />
</Style>
<Style x:Key="PlaceholderContentPresenterStyle" TargetType="ContentPresenter">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource ContentControlFontSize}" />
<Setter Property="FontWeight" Value="Normal" />
<Setter Property="Foreground" Value="{ThemeResource PhoneMidBrush}" />
</Style>
<Style x:Key="HeaderContentPresenterStyle" TargetType="ContentPresenter">
<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{StaticResource TextStyleMediumFontSize}" />
<Setter Property="FontWeight" Value="Normal" />
<Setter Property="Foreground" Value="{ThemeResource PhoneMidBrush}" />
</Style>
<Style x:Key="PivotTitleContentControlStyle" TargetType="ContentControl">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleLargeFontSize}" />
<Setter Property="Margin" Value="{StaticResource PivotPortraitThemePadding}" />
</Style>
<!-- Page Level Text -->
<Style x:Key="MessageDialogTitleStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontSize" Value="{ThemeResource TextStyleExtraLargeFontSize}" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="LineHeight" Value="31.5" />
<Setter Property="CharacterSpacing" Value="3" />
</Style>
<Style x:Key="MessageDialogContentStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontSize" Value="{StaticResource TextStyleLargeFontSize}" />
<Setter Property="LineHeight" Value="21.5" />
</Style>
<Style x:Key="TitleTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontSize" Value="{StaticResource TextStyleLargeFontSize}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="TextWrapping" Value="NoWrap" />
</Style>
<Style x:Key="FlyoutPickerTitleTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontSize" Value="{StaticResource TextStyleLargeFontSize}" />
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="CharacterSpacing" Value="15" />
</Style>
<Style x:Key="HeaderTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilySemiLight}"/>
<Setter Property="FontSize" Value="57.5"/>
<Setter Property="FontWeight" Value="SemiLight"/>
<Setter Property="LineHeight" Value="57.5"/>
<Setter Property="TextWrapping" Value="NoWrap" />
</Style>
<Style x:Key="SubheaderTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilySemiLight}"/>
<Setter Property="FontSize" Value="30"/>
<Setter Property="FontWeight" Value="SemiLight"/>
<Setter Property="LineHeight" Value="33"/>
</Style>
<!--
*****************************************************************
Templates
*****************************************************************
-->
<!-- DataTemplate holding the content for ListPickerFlyoutPresenter's ItemsHostPanel -->
<DataTemplate x:Key="ListPickerFlyoutPresenterContentTemplate">
<ListView ItemContainerStyle="{StaticResource ListPickerFlyoutPresenterItemStyle}">
<ListView.Footer>
<Border Height="{ThemeResource ListPickerFlyoutFooterThemeHeight}" Width="1" />
</ListView.Footer>
</ListView>
</DataTemplate>
<ControlTemplate TargetType="ScrollViewer" x:Name="ScrollViewerScrollBarlessTemplate">
<Grid Background="{TemplateBinding Background}">
<ScrollContentPresenter x:Name="ScrollContentPresenter"
ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="{TemplateBinding Padding}" />
</Grid>
</ControlTemplate>
</ResourceDictionary>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment