Last active
December 8, 2017 05:09
-
-
Save longzheng/2308859 to your computer and use it in GitHub Desktop.
Windows 8.1 default XAML templates and styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
// | |
// 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"> | |
<ResourceDictionary.ThemeDictionaries> | |
<ResourceDictionary x:Key="Default"> | |
<!-- Default theme resources --> | |
<!-- | |
****************************************************************** | |
DEFAULT COMMON CONTROL PROPERTIES | |
****************************************************************** | |
--> | |
<FontFamily x:Key="ContentControlThemeFontFamily">Segoe UI</FontFamily> | |
<FontFamily x:Key="SettingsFlyoutHeaderThemeFontFamily">Segoe UI</FontFamily> | |
<FontFamily x:Key="SymbolThemeFontFamily">Segoe UI Symbol</FontFamily> | |
<x:Double x:Key="AppBarThemeMinHeight">68</x:Double> | |
<x:Double x:Key="CheckBoxBorderThemeThickness">0</x:Double> | |
<x:Double x:Key="ComboBoxArrowThemeFontSize">21</x:Double> | |
<x:Double x:Key="ComboBoxThemeMinWidth">64</x:Double> | |
<x:Double x:Key="ComboBoxPopupThemeMinWidth">80</x:Double> | |
<x:Double x:Key="ControlContentThemeFontSize">14.667</x:Double> | |
<x:Double x:Key="DatePickerSelectorThemeMinWidth">80</x:Double> | |
<x:Double x:Key="DatePickerSpacingThemeWidth">20</x:Double> | |
<x:Double x:Key="DatePickerSpacingThemeHeight">20</x:Double> | |
<x:Double x:Key="FlyoutThemeMaxHeight">718</x:Double> | |
<x:Double x:Key="FlyoutThemeMaxWidth">450</x:Double> | |
<x:Double x:Key="FlyoutThemeMinHeight">54</x:Double> | |
<x:Double x:Key="FlyoutThemeMinWidth">70</x:Double> | |
<x:Double x:Key="GridViewItemSelectedBorderThemeThickness">4</x:Double> | |
<x:Double x:Key="HubHeaderThemeFontSize">56</x:Double> | |
<x:Double x:Key="HubSectionHeaderThemeFontSize">26.667</x:Double> | |
<x:Double x:Key="ListViewItemDisabledThemeOpacity">0.55</x:Double> | |
<x:Double x:Key="ListViewItemDragThemeOpacity">0.60</x:Double> | |
<x:Double x:Key="ListViewItemReorderHintThemeOffset">40.0</x:Double> | |
<x:Double x:Key="ListViewItemSelectedBorderThemeThickness">4</x:Double> | |
<x:Double x:Key="MenuFlyoutSeparatorThemeHeight">1</x:Double> | |
<x:Double x:Key="ProgressBarThemeMinHeight">6</x:Double> | |
<x:Double x:Key="RadioButtonBorderThemeThickness">0</x:Double> | |
<x:Double x:Key="ScrollBarTrackBorderThemeThickness">0</x:Double> | |
<x:Double x:Key="SearchBoxContentThemeFontSize">15</x:Double> | |
<x:Double x:Key="SearchBoxResultSuggestionImageThemeWidth">40</x:Double> | |
<x:Double x:Key="SearchBoxResultSuggestionImageThemeHeight">40</x:Double> | |
<x:Double x:Key="SearchBoxSuggestionPopupThemeMinWidth">270</x:Double> | |
<x:Double x:Key="SearchBoxSuggestionPopupThemeMaxHeight">300</x:Double> | |
<x:Double x:Key="SearchBoxTextBoxThemeMinHeight">28</x:Double> | |
<x:Double x:Key="SemanticZoomButtonFontSize">14.667</x:Double> | |
<x:Double x:Key="SettingsFlyoutHeaderThemeFontSize">26.667</x:Double> | |
<x:Double x:Key="SliderOutsideTickBarThemeHeight">6</x:Double> | |
<x:Double x:Key="SliderTrackThemeHeight">11</x:Double> | |
<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">32</x:Double> | |
<x:Double x:Key="TextControlThemeMinWidth">64</x:Double> | |
<x:Double x:Key="TimePickerSelectorThemeMinWidth">80</x:Double> | |
<x:Double x:Key="ToolTipContentThemeFontSize">12</x:Double> | |
<Thickness x:Key="AppBarBottomBorderThemeThickness">0,2,0,0</Thickness> | |
<Thickness x:Key="AppBarBottomThemePadding">0,0,0,2</Thickness> | |
<Thickness x:Key="AppBarTopBorderThemeThickness">0,0,0,2</Thickness> | |
<Thickness x:Key="AppBarTopThemePadding">0,2,0,0</Thickness> | |
<Thickness x:Key="ButtonBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ComboBoxBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ComboBoxHeaderThemeMargin">0,0,0,6</Thickness> | |
<Thickness x:Key="ComboBoxPopupBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="DatePickerHeaderThemeMargin">0,0,0,6</Thickness> | |
<Thickness x:Key="FlipViewButtonBorderThemeThickness">1</Thickness> | |
<Thickness x:Key="FlyoutBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="FlyoutContentThemePadding">20,17,20,20</Thickness> | |
<Thickness x:Key="GridViewItemCompactSelectedBorderThemeThickness">4</Thickness> | |
<Thickness x:Key="HyperlinkButtonBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ListBoxBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ListViewItemCompactSelectedBorderThemeThickness">4</Thickness> | |
<Thickness x:Key="MenuFlyoutPresenterThemePadding">0,5</Thickness> | |
<Thickness x:Key="MenuFlyoutItemThemePadding">20,10,20,12</Thickness> | |
<Thickness x:Key="MenuFlyoutItemPlaceholderThemeThickness">26,0,0,0</Thickness> | |
<Thickness x:Key="MenuFlyoutSeparatorThemePadding">20,9,20,10</Thickness> | |
<Thickness x:Key="ProgressBarBorderThemeThickness">0</Thickness> | |
<Thickness x:Key="RepeatButtonBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ScrollBarPanningBorderThemeThickness">1</Thickness> | |
<Thickness x:Key="SearchBoxQuerySuggestionThemeMargin">18,9,18,12</Thickness> | |
<Thickness x:Key="SearchBoxResultSuggestionThemeMargin">18,10,18,10</Thickness> | |
<Thickness x:Key="SearchBoxSeparatorSuggestionThemeMargin">18,9,18,12</Thickness> | |
<Thickness x:Key="SearchBoxSuggestionSubcomponentThemeMargin">0,0,10,0</Thickness> | |
<Thickness x:Key="SearchBoxThemePadding">8,4,8,4</Thickness> | |
<Thickness x:Key="SearchBoxIMECandidateListSeparatorThemeThickness">0,2,0,0</Thickness> | |
<Thickness x:Key="SearchBoxBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="SliderBorderThemeThickness">0</Thickness> | |
<Thickness x:Key="SliderHeaderThemeMargin">6</Thickness> | |
<Thickness x:Key="TextControlBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="TextControlThemePadding">10,3,10,5</Thickness> | |
<Thickness x:Key="TextControlPlaceholderThemePadding">12,5,10,5</Thickness> | |
<Thickness x:Key="TimePickerHeaderThemeMargin">0,0,0,6</Thickness> | |
<Thickness x:Key="TimePickerFirstHostThemeMargin">0,0,20,0</Thickness> | |
<Thickness x:Key="TimePickerThirdHostThemeMargin">20,0,0,0</Thickness> | |
<Thickness x:Key="ToggleButtonBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ToolTipBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="HubSectionHeaderThemeMargin">0,0,0,20</Thickness> | |
<FontWeight x:Key="ComboBoxHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="ComboBoxPlaceholderTextThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="DatePickerHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="SearchBoxButtonThemeFontWeight">Normal</FontWeight> | |
<FontWeight x:Key="SearchBoxContentThemeFontWeight">Normal</FontWeight> | |
<FontWeight x:Key="TimePickerHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="SliderHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="HubHeaderThemeFontWeight">Light</FontWeight> | |
<FontWeight x:Key="HubSectionHeaderThemeFontWeight">SemiLight</FontWeight> | |
<!-- | |
****************************************************************** | |
DEFAULT COMMON CONTROL COLORS | |
****************************************************************** | |
--> | |
<SolidColorBrush x:Key="AppBarBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarItemBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="AppBarItemDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="AppBarItemForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="AppBarItemPointerOverBackgroundThemeBrush" Color="#21FFFFFF" /> | |
<SolidColorBrush x:Key="AppBarItemPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="AppBarItemPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarSeparatorForegroundThemeBrush" Color="#FF7B7B7B" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBackgroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="#99FFFFFF" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBorderThemeBrush" Color="#99FFFFFF" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonPointerOverBackgroundThemeBrush" Color="#21FFFFFF" /> | |
<SolidColorBrush x:Key="ApplicationForegroundThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="ApplicationHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ApplicationPageBackgroundThemeBrush" Color="#FF1D1D1D" /> | |
<SolidColorBrush x:Key="ApplicationPointerOverForegroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="ApplicationPressedForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ApplicationSecondaryForegroundThemeBrush" Color="#99FFFFFF" /> | |
<SolidColorBrush x:Key="BackButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="BackButtonDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="BackButtonForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="BackButtonPointerOverBackgroundThemeBrush" Color="#21FFFFFF" /> | |
<SolidColorBrush x:Key="BackButtonPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="BackButtonPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ButtonDisabledBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ButtonDisabledBorderThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ButtonDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ButtonPointerOverBackgroundThemeBrush" Color="#21FFFFFF" /> | |
<SolidColorBrush x:Key="ButtonPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ButtonPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="CheckBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxBorderThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxContentDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxContentForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxDisabledBackgroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxDisabledBorderThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="CheckBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="CheckBoxPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxPointerOverBorderThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="CheckBoxPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxPressedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxArrowDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxArrowForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxArrowPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxBorderThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledBorderThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxFocusedBackgroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ComboBoxFocusedBorderThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ComboBoxFocusedForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ComboBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxItemDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ComboBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> | |
<SolidColorBrush x:Key="ComboBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3"/> | |
<SolidColorBrush x:Key="ComboBoxItemPressedForegroundThemeBrush" Color="#FF000000"/> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledBackgroundThemeBrush" Color="#8C000000" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledForegroundThemeBrush" Color="#99FFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="ComboBoxPlaceholderTextForegroundThemeBrush" Color="#88000000" /> | |
<SolidColorBrush x:Key="ComboBoxPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxPointerOverBorderThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxPopupBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxPopupBorderThemeBrush" Color="#FF212121" /> | |
<SolidColorBrush x:Key="ComboBoxPopupForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxPressedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxPressedHighlightThemeBrush" Color="#FFD3D3D3" /> | |
<SolidColorBrush x:Key="ComboBoxPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ComboBoxSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="DatePickerHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="DatePickerForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="DefaultTextForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="FlipViewButtonBackgroundThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="FlipViewButtonBorderThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="FlipViewButtonForegroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="FlipViewButtonPointerOverBackgroundThemeBrush" Color="#F0D7D7D7" /> | |
<SolidColorBrush x:Key="FlipViewButtonPointerOverBorderThemeBrush" Color="#9EC1C1C1" /> | |
<SolidColorBrush x:Key="FlipViewButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="FlipViewButtonPressedBackgroundThemeBrush" Color="#BD292929" /> | |
<SolidColorBrush x:Key="FlipViewButtonPressedBorderThemeBrush" Color="#BD292929" /> | |
<SolidColorBrush x:Key="FlipViewButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="FlyoutBackgroundThemeBrush" Color="#FF000000"/> | |
<SolidColorBrush x:Key="FlyoutBorderThemeBrush" Color="#FFFFFFFF"/> | |
<SolidColorBrush x:Key="FocusVisualBlackStrokeThemeBrush" Color="Black" /> | |
<SolidColorBrush x:Key="FocusVisualWhiteStrokeThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="HyperlinkButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="HyperlinkButtonBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="HyperlinkDisabledThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="HyperlinkForegroundThemeBrush" Color="#FF9C72FF" /> | |
<SolidColorBrush x:Key="HyperlinkPointerOverForegroundThemeBrush" Color="#CC9C72FF" /> | |
<SolidColorBrush x:Key="HyperlinkPressedForegroundThemeBrush" Color="#999C72FF" /> | |
<SolidColorBrush x:Key="HubSectionHeaderPointerOverForegroundThemeBrush" Color="#FFD1D1D1" /> | |
<SolidColorBrush x:Key="HubSectionHeaderPressedForegroundThemeBrush" Color="#FF777777" /> | |
<SolidColorBrush x:Key="IMECandidateBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="IMECandidateForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="IMECandidatePointerOverBackgroundThemeBrush" Color="#21000000" /> | |
<SolidColorBrush x:Key="IMECandidatePointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="IMECandidateSecondaryForegroundThemeBrush" Color="#FF707070" /> | |
<SolidColorBrush x:Key="IMECandidateSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="IMECandidateSelectedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="IMECandidateListBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonBackgroundThemeBrush" Color="#7FD9D9D9" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonForegroundThemeBrush" Color="#7F000000" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPointerOverBackgroundThemeBrush" Color="#FFD9D9D9" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="ListBoxBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> | |
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3" /> | |
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="ListViewGroupHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewGroupHeaderPointerOverForegroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewGroupHeaderPressedForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemCheckHintThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemCheckSelectingThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemCheckThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemDragBackgroundThemeBrush" Color="#994617B4" /> | |
<SolidColorBrush x:Key="ListViewItemDragForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ListViewItemFocusBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemOverlayBackgroundThemeBrush" Color="#A6000000" /> | |
<SolidColorBrush x:Key="ListViewItemOverlayForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemOverlaySecondaryForegroundThemeBrush" Color="#99FFFFFF"/> | |
<SolidColorBrush x:Key="ListViewItemPlaceholderBackgroundThemeBrush" Color="#FF3D3D3D" /> | |
<SolidColorBrush x:Key="ListViewItemPointerOverBackgroundThemeBrush" Color="#4DFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="MediaButtonForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MediaButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="MediaButtonPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MediaButtonPointerOverBackgroundThemeBrush" Color="#26FFFFFF" /> | |
<SolidColorBrush x:Key="MediaButtonPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="MediaButtonPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MediaButtonPressedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key='MediaControlPanelVideoThemeBrush' Color='#A3000000' /> | |
<SolidColorBrush x:Key='MediaControlPanelAudioThemeBrush' Color='#FF000000' /> | |
<SolidColorBrush x:Key='MediaDownloadProgressIndicatorThemeBrush' Color='#38FFFFFF' /> | |
<SolidColorBrush x:Key='MediaErrorBackgroundThemeBrush' Color='#FF000000' /> | |
<SolidColorBrush x:Key='MediaTextThemeBrush' Color='#FFFFFFFF' /> | |
<SolidColorBrush x:Key="MenuFlyoutItemFocusedBackgroundThemeBrush" Color="#FF212121" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemFocusedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPointerOverBackgroundThemeBrush" Color="#FF212121" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="MenuFlyoutSeparatorThemeBrush" Color="#FF7A7A7A" /> | |
<SolidColorBrush x:Key="ProgressBarBackgroundThemeBrush" Color="#59FFFFFF" /> | |
<SolidColorBrush x:Key="ProgressBarBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ProgressBarForegroundThemeBrush" Color="#FF5B2EC5" /> | |
<SolidColorBrush x:Key="ProgressBarIndeterminateForegroundThemeBrush" Color="#FF8A57FF" /> | |
<SolidColorBrush x:Key="RadioButtonBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonBorderThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonContentDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonContentForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonDisabledBackgroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonDisabledBorderThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="RadioButtonForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RadioButtonPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonPointerOverBorderThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RadioButtonPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonPressedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RepeatButtonBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="RepeatButtonDisabledBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="RepeatButtonDisabledBorderThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="RepeatButtonDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="RepeatButtonForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="RepeatButtonPointerOverBackgroundThemeBrush" Color="#21FFFFFF" /> | |
<SolidColorBrush x:Key="RepeatButtonPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="RepeatButtonPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="RepeatButtonPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ScrollBarButtonForegroundThemeBrush" Color="#99000000"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBackgroundThemeBrush" Color="#FFDADADA"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBorderThemeBrush" Color="#FFDADADA"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPointerOverForegroundThemeBrush" Color="#FF000000"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPressedBackgroundThemeBrush" Color="#99000000"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPressedBorderThemeBrush" Color="#99000000"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPressedForegroundThemeBrush" Color="#FFFFFFFF"/> | |
<SolidColorBrush x:Key="ScrollBarPanningBackgroundThemeBrush" Color="#FFCDCDCD"/> | |
<SolidColorBrush x:Key="ScrollBarPanningBorderThemeBrush" Color="#7D9A9A9A"/> | |
<SolidColorBrush x:Key="ScrollBarThumbBackgroundThemeBrush" Color="#FFCDCDCD"/> | |
<SolidColorBrush x:Key="ScrollBarThumbBorderThemeBrush" Color="#3B555555"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBackgroundThemeBrush" Color="#FFDADADA"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBorderThemeBrush" Color="#6BB7B7B7"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPressedBackgroundThemeBrush" Color="#99000000"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPressedBorderThemeBrush" Color="#ED555555"/> | |
<SolidColorBrush x:Key="ScrollBarTrackBackgroundThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="ScrollBarTrackBorderThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="SearchBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="SearchBoxBorderThemeBrush" Color="#FF2A2A2A" /> | |
<SolidColorBrush x:Key="SearchBoxDisabledBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="SearchBoxDisabledTextThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="SearchBoxDisabledBorderThemeBrush" Color="#FF666666" /> | |
<SolidColorBrush x:Key="SearchBoxPointerOverBackgroundThemeBrush" Color="#DDFFFFFF" /> | |
<SolidColorBrush x:Key="SearchBoxPointerOverTextThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="SearchBoxPointerOverBorderThemeBrush" Color="#FFDDDDDD" /> | |
<SolidColorBrush x:Key="SearchBoxFocusedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SearchBoxFocusedTextThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SearchBoxFocusedBorderThemeBrush" Color="#FF2A2A2A" /> | |
<SolidColorBrush x:Key="SearchBoxButtonBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="SearchBoxButtonForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="SearchBoxButtonPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SearchBoxButtonPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="SearchBoxSeparatorSuggestionForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SearchBoxHitHighlightForegroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="SearchBoxHitHighlightSelectedForegroundThemeBrush" Color="#FFA38BDA" /> | |
<SolidColorBrush x:Key="SearchBoxIMECandidateListSeparatorThemeBrush" Color="#FF2A2A2A"/> | |
<SolidColorBrush x:Key="SearchBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonBackgroundThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonBorderThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonForegroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBackgroundThemeBrush" Color="#FFDADADA" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBorderThemeBrush" Color="#FFDADADA" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPressedBackgroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPressedBorderThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SettingsFlyoutBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SettingsFlyoutBackButtonPointerOverBackgroundThemeBrush" Color="#21FFFFFF" /> | |
<SolidColorBrush x:Key="SettingsFlyoutHeaderBackgroundThemeBrush" Color="#FF464646" /> | |
<SolidColorBrush x:Key="SettingsFlyoutHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<!-- TODO: BLUE 50218 - ThemeResource causes leak when used in defalt Style-level setter for HeaderBackgroundBrush or HeaderForegroundBrush | |
When the bug is fixed, uncomment and use the inverted colors below for the "Dark" theme. | |
Also, change the StaticResources for SettingsFlyout.HeaderBackgroundBrush and | |
SettingsFlyout.HeaderForegroundBrush setters to ThemeResources in the default style, below. | |
<SolidColorBrush x:Key="SettingsFlyoutHeaderBackgroundThemeBrush" Color="#FFB9B9B9" /> | |
<SolidColorBrush x:Key="SettingsFlyoutHeaderForegroundThemeBrush" Color="#FF000000" /> | |
--> | |
<SolidColorBrush x:Key="SliderBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="SliderDisabledBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="SliderThumbBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SliderThumbBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SliderThumbDisabledBackgroundThemeBrush" Color="#FF7E7E7E" /> | |
<SolidColorBrush x:Key="SliderThumbPointerOverBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SliderThumbPointerOverBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SliderThumbPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SliderThumbPressedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SliderTickMarkInlineBackgroundThemeBrush" Color="Black" /> | |
<SolidColorBrush x:Key="SliderTickMarkInlineDisabledForegroundThemeBrush" Color="Black" /> | |
<SolidColorBrush x:Key="SliderTickmarkOutsideBackgroundThemeBrush" Color="#80FFFFFF" /> | |
<SolidColorBrush x:Key="SliderTickMarkOutsideDisabledForegroundThemeBrush" Color="#80FFFFFF" /> | |
<SolidColorBrush x:Key="SliderTrackBackgroundThemeBrush" Color="#29FFFFFF" /> | |
<SolidColorBrush x:Key="SliderTrackDecreaseBackgroundThemeBrush" Color="#FF5B2EC5" /> | |
<SolidColorBrush x:Key="SliderTrackDecreaseDisabledBackgroundThemeBrush" Color="#1FFFFFFF" /> | |
<SolidColorBrush x:Key="SliderTrackDecreasePointerOverBackgroundThemeBrush" Color="#FF724BCD" /> | |
<SolidColorBrush x:Key="SliderTrackDecreasePressedBackgroundThemeBrush" Color="#FF8152EF" /> | |
<SolidColorBrush x:Key="SliderTrackDisabledBackgroundThemeBrush" Color="#29FFFFFF" /> | |
<SolidColorBrush x:Key="SliderTrackPointerOverBackgroundThemeBrush" Color="#46FFFFFF" /> | |
<SolidColorBrush x:Key="SliderTrackPressedBackgroundThemeBrush" Color="#59FFFFFF" /> | |
<SolidColorBrush x:Key="SliderHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="TextBoxForegroundHeaderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="#AB000000" /> | |
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="TextSelectionHighlightColorThemeBrush" Color="#FF4617b4"/> | |
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="TextBoxButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxButtonBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxButtonForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="TextBoxButtonPointerOverBackgroundThemeBrush" Color="#FFDEDEDE" /> | |
<SolidColorBrush x:Key="TextBoxButtonPointerOverBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="TextBoxButtonPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="TextBoxButtonPressedBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="TextBoxDisabledBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="#FF666666" /> | |
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ThumbBackgroundThemeBrush" Color="#FFCDCDCD" /> | |
<SolidColorBrush x:Key="ThumbBorderThemeBrush" Color="#3B555555" /> | |
<SolidColorBrush x:Key="ThumbPointerOverBackgroundThemeBrush" Color="#FFDADADA"/> | |
<SolidColorBrush x:Key="ThumbPointerOverBorderThemeBrush" Color="#6BB7B7B7"/> | |
<SolidColorBrush x:Key="ThumbPressedBackgroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="ThumbPressedBorderThemeBrush" Color="#ED555555"/> | |
<SolidColorBrush x:Key="TimePickerHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="TimePickerForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ToggleButtonBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledBackgroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="#99FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBorderThemeBrush" Color="#99FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonDisabledBorderThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonPointerOverBackgroundThemeBrush" Color="#21FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainBackgroundThemeBrush" Color="#FF5729C1" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainDisabledBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainPointerOverBackgroundThemeBrush" Color="#FF6E46CA" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainPressedBackgroundThemeBrush" Color="#FF7E4FEC" /> | |
<SolidColorBrush x:Key="ToggleSwitchDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchHeaderDisabledForegroundThemeBrush" Color="#66FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchOuterBorderBorderThemeBrush" Color="#59FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchOuterBorderDisabledBorderThemeBrush" Color="#33FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBackgroundThemeBrush" Color="#FF7E7E7E" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBorderThemeBrush" Color="#FF7E7E7E" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackBackgroundThemeBrush" Color="#42FFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackDisabledBackgroundThemeBrush" Color="#1FFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackPointerOverBackgroundThemeBrush" Color="#4AFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackPressedBackgroundThemeBrush" Color="#59FFFFFF" /> | |
<SolidColorBrush x:Key="ToolTipBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToolTipBorderThemeBrush" Color="#FF808080" /> | |
<SolidColorBrush x:Key="ToolTipForegroundThemeBrush" Color="#FF666666" /> | |
</ResourceDictionary> | |
<ResourceDictionary x:Key="HighContrast"> | |
<!-- High Contrast theme resources --> | |
<!-- | |
****************************************************************** | |
HIGH CONTRAST COMMON CONTROL PROPERTIES | |
****************************************************************** | |
--> | |
<FontFamily x:Key="ContentControlThemeFontFamily">Segoe UI</FontFamily> | |
<FontFamily x:Key="SettingsFlyoutHeaderThemeFontFamily">Segoe UI</FontFamily> | |
<FontFamily x:Key="SymbolThemeFontFamily">Segoe UI Symbol</FontFamily> | |
<x:Double x:Key="AppBarThemeMinHeight">68</x:Double> | |
<x:Double x:Key="CheckBoxBorderThemeThickness">2</x:Double> | |
<x:Double x:Key="ComboBoxArrowThemeFontSize">21</x:Double> | |
<x:Double x:Key="ComboBoxThemeMinWidth">64</x:Double> | |
<x:Double x:Key="ComboBoxPopupThemeMinWidth">80</x:Double> | |
<x:Double x:Key="ControlContentThemeFontSize">14.667</x:Double> | |
<x:Double x:Key="DatePickerSelectorThemeMinWidth">80</x:Double> | |
<x:Double x:Key="DatePickerSpacingThemeWidth">20</x:Double> | |
<x:Double x:Key="DatePickerSpacingThemeHeight">20</x:Double> | |
<x:Double x:Key="FlyoutThemeMaxHeight">718</x:Double> | |
<x:Double x:Key="FlyoutThemeMaxWidth">450</x:Double> | |
<x:Double x:Key="FlyoutThemeMinHeight">54</x:Double> | |
<x:Double x:Key="FlyoutThemeMinWidth">70</x:Double> | |
<x:Double x:Key="GridViewItemSelectedBorderThemeThickness">4</x:Double> | |
<x:Double x:Key="HubHeaderThemeFontSize">56</x:Double> | |
<x:Double x:Key="HubSectionHeaderThemeFontSize">26.667</x:Double> | |
<x:Double x:Key="ListViewItemDisabledThemeOpacity">0.55</x:Double> | |
<x:Double x:Key="ListViewItemDragThemeOpacity">0.60</x:Double> | |
<x:Double x:Key="ListViewItemReorderHintThemeOffset">40.0</x:Double> | |
<x:Double x:Key="ListViewItemSelectedBorderThemeThickness">4</x:Double> | |
<x:Double x:Key="MenuFlyoutSeparatorThemeHeight">1</x:Double> | |
<x:Double x:Key="ProgressBarThemeMinHeight">8</x:Double> | |
<x:Double x:Key="RadioButtonBorderThemeThickness">2</x:Double> | |
<x:Double x:Key="ScrollBarTrackBorderThemeThickness">1</x:Double> | |
<x:Double x:Key="SearchBoxContentThemeFontSize">15</x:Double> | |
<x:Double x:Key="SearchBoxResultSuggestionImageThemeWidth">40</x:Double> | |
<x:Double x:Key="SearchBoxResultSuggestionImageThemeHeight">40</x:Double> | |
<x:Double x:Key="SearchBoxSuggestionPopupThemeMinWidth">270</x:Double> | |
<x:Double x:Key="SearchBoxSuggestionPopupThemeMaxHeight">300</x:Double> | |
<x:Double x:Key="SearchBoxTextBoxThemeMinHeight">28</x:Double> | |
<x:Double x:Key="SemanticZoomButtonFontSize">14.667</x:Double> | |
<x:Double x:Key="SettingsFlyoutHeaderThemeFontSize">26.667</x:Double> | |
<x:Double x:Key="SliderOutsideTickBarThemeHeight">6</x:Double> | |
<x:Double x:Key="SliderTrackThemeHeight">11</x:Double> | |
<x:Double x:Key="TextControlBackgroundThemeOpacity">1</x:Double> | |
<x:Double x:Key="TextControlBorderThemeOpacity">1</x:Double> | |
<x:Double x:Key="TextControlPointerOverBackgroundThemeOpacity">1</x:Double> | |
<x:Double x:Key="TextControlPointerOverBorderThemeOpacity">1</x:Double> | |
<x:Double x:Key="TextControlThemeMinHeight">32</x:Double> | |
<x:Double x:Key="TextControlThemeMinWidth">64</x:Double> | |
<x:Double x:Key="TimePickerSelectorThemeMinWidth">80</x:Double> | |
<x:Double x:Key="ToolTipContentThemeFontSize">12</x:Double> | |
<Thickness x:Key="AppBarBottomBorderThemeThickness">0,2,0,0</Thickness> | |
<Thickness x:Key="AppBarBottomThemePadding">0,0,0,2</Thickness> | |
<Thickness x:Key="AppBarTopBorderThemeThickness">0,0,0,2</Thickness> | |
<Thickness x:Key="AppBarTopThemePadding">0,2,0,0</Thickness> | |
<Thickness x:Key="ButtonBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ComboBoxBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ComboBoxHeaderThemeMargin">0,0,0,6</Thickness> | |
<Thickness x:Key="ComboBoxPopupBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="DatePickerHeaderThemeMargin">0,0,0,6</Thickness> | |
<Thickness x:Key="FlipViewButtonBorderThemeThickness">1</Thickness> | |
<Thickness x:Key="FlyoutBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="FlyoutContentThemePadding">20,17,20,20</Thickness> | |
<Thickness x:Key="GridViewItemCompactSelectedBorderThemeThickness">4</Thickness> | |
<Thickness x:Key="HyperlinkButtonBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ListBoxBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ListViewItemCompactSelectedBorderThemeThickness">4</Thickness> | |
<Thickness x:Key="MenuFlyoutPresenterThemePadding">0,5</Thickness> | |
<Thickness x:Key="MenuFlyoutItemThemePadding">20,10,20,12</Thickness> | |
<Thickness x:Key="MenuFlyoutItemPlaceholderThemeThickness">26,0,0,0</Thickness> | |
<Thickness x:Key="MenuFlyoutSeparatorThemePadding">20,9,20,10</Thickness> | |
<Thickness x:Key="ProgressBarBorderThemeThickness">1</Thickness> | |
<Thickness x:Key="RepeatButtonBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ScrollBarPanningBorderThemeThickness">1</Thickness> | |
<Thickness x:Key="SearchBoxQuerySuggestionThemeMargin">18,9,18,12</Thickness> | |
<Thickness x:Key="SearchBoxResultSuggestionThemeMargin">18,10,18,10</Thickness> | |
<Thickness x:Key="SearchBoxSeparatorSuggestionThemeMargin">18,9,18,12</Thickness> | |
<Thickness x:Key="SearchBoxSuggestionSubcomponentThemeMargin">0,0,10,0</Thickness> | |
<Thickness x:Key="SearchBoxThemePadding">8,4,8,4</Thickness> | |
<Thickness x:Key="SearchBoxIMECandidateListSeparatorThemeThickness">0,2,0,0</Thickness> | |
<Thickness x:Key="SearchBoxBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="SliderBorderThemeThickness">1</Thickness> | |
<Thickness x:Key="SliderHeaderThemeMargin">6</Thickness> | |
<Thickness x:Key="TextControlBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="TextControlThemePadding">10,3,10,5</Thickness> | |
<Thickness x:Key="TextControlPlaceholderThemePadding">12,5,10,5</Thickness> | |
<Thickness x:Key="TimePickerHeaderThemeMargin">0,0,0,6</Thickness> | |
<Thickness x:Key="TimePickerFirstHostThemeMargin">0,0,20,0</Thickness> | |
<Thickness x:Key="TimePickerThirdHostThemeMargin">20,0,0,0</Thickness> | |
<Thickness x:Key="ToggleButtonBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ToolTipBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="HubSectionHeaderThemeMargin">0,0,0,20</Thickness> | |
<FontWeight x:Key="ComboBoxHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="ComboBoxPlaceholderTextThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="DatePickerHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="SearchBoxButtonThemeFontWeight">Normal</FontWeight> | |
<FontWeight x:Key="SearchBoxContentThemeFontWeight">Normal</FontWeight> | |
<FontWeight x:Key="TimePickerHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="SliderHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="HubHeaderThemeFontWeight">Light</FontWeight> | |
<FontWeight x:Key="HubSectionHeaderThemeFontWeight">SemiLight</FontWeight> | |
<!-- | |
****************************************************************** | |
HIGH CONTRAST COMMON CONTROL COLORS | |
****************************************************************** | |
--> | |
<SolidColorBrush x:Key="AppBarBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="AppBarBorderThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="AppBarItemBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="AppBarItemDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="AppBarItemForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="AppBarItemPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="AppBarItemPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="AppBarItemPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="AppBarSeparatorForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ApplicationForegroundThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="ApplicationHeaderForegroundThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="ApplicationPageBackgroundThemeBrush" Color="{ThemeResource SystemColorWindowColor}" /> | |
<SolidColorBrush x:Key="ApplicationPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="ApplicationPressedForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="ApplicationSecondaryForegroundThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="BackButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="BackButtonDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="BackButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="BackButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="BackButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="BackButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ButtonDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ButtonDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ButtonDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="CheckBoxBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="CheckBoxBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxContentDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxContentForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="CheckBoxDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="CheckBoxPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="CheckBoxPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxArrowDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxArrowForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxArrowPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxFocusedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxFocusedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxFocusedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxHeaderForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxItemPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ComboBoxItemPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxItemPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ComboBoxItemPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ComboBoxPlaceholderTextForegroundThemeBrush" Color="#88000000" /> | |
<SolidColorBrush x:Key="ComboBoxPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxPopupBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxPopupBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxPopupForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxPressedHighlightThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ComboBoxPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ComboBoxSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}"/> | |
<SolidColorBrush x:Key="ComboBoxSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="DatePickerHeaderForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="DatePickerForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="DefaultTextForegroundThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="FlipViewButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="FlipViewButtonBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="FlipViewButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="FlipViewButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="FlipViewButtonPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="FlipViewButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="FlipViewButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="FlipViewButtonPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="FlipViewButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="FlyoutBackgroundThemeBrush" Color="{ThemeResource SystemColorWindowColor}"/> | |
<SolidColorBrush x:Key="FlyoutBorderThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}"/> | |
<SolidColorBrush x:Key="FocusVisualBlackStrokeThemeBrush" Color="Black" /> | |
<SolidColorBrush x:Key="FocusVisualWhiteStrokeThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="HyperlinkButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorWindowColor}" /> | |
<SolidColorBrush x:Key="HyperlinkButtonBorderThemeBrush" Color="{ThemeResource SystemColorWindowColor}" /> | |
<SolidColorBrush x:Key="HyperlinkDisabledThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="HyperlinkForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="HyperlinkPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="HyperlinkPressedForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="HubSectionHeaderPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="HubSectionHeaderPressedForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="IMECandidateBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="IMECandidateForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="IMECandidatePointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="IMECandidatePointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="IMECandidateSecondaryForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="IMECandidateSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="IMECandidateSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="IMECandidateListBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="{ThemeResource SystemColorWindowColor}" /> | |
<SolidColorBrush x:Key="ListBoxBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ListViewGroupHeaderForegroundThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="ListViewGroupHeaderPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="ListViewGroupHeaderPressedForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="ListViewItemCheckHintThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="ListViewItemCheckSelectingThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="ListViewItemCheckThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ListViewItemDragBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ListViewItemDragForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ListViewItemFocusBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ListViewItemOverlayBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ListViewItemOverlayForegroundThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="ListViewItemOverlaySecondaryForegroundThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="ListViewItemPlaceholderBackgroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ListViewItemPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="MediaButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="MediaButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="MediaButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHotlightColor}" /> | |
<SolidColorBrush x:Key="MediaButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="MediaButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="MediaButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="MediaButtonPressedBorderThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key='MediaControlPanelVideoThemeBrush' Color='{ThemeResource SystemColorButtonFaceColor}' /> | |
<SolidColorBrush x:Key='MediaControlPanelAudioThemeBrush' Color='{ThemeResource SystemColorButtonFaceColor}' /> | |
<SolidColorBrush x:Key='MediaDownloadProgressIndicatorThemeBrush' Color='{ThemeResource SystemColorHotlightColor}' /> | |
<SolidColorBrush x:Key='MediaErrorBackgroundThemeBrush' Color='{ThemeResource SystemColorButtonFaceColor}' /> | |
<SolidColorBrush x:Key='MediaTextThemeBrush' Color='{ThemeResource SystemColorButtonTextColor}' /> | |
<SolidColorBrush x:Key="MenuFlyoutItemFocusedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemFocusedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="MenuFlyoutSeparatorThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="ProgressBarBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ProgressBarBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ProgressBarForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ProgressBarIndeterminateForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="RadioButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="RadioButtonBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonContentDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonContentForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonContentPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="RadioButtonDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="RadioButtonPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="RadioButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="RepeatButtonBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="RepeatButtonDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="RepeatButtonDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="RepeatButtonDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="RepeatButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="RepeatButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="RepeatButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="RepeatButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="RepeatButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ScrollBarButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}"/> | |
<SolidColorBrush x:Key="ScrollBarPanningBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarPanningBorderThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}"/> | |
<SolidColorBrush x:Key="ScrollBarThumbBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarThumbBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ScrollBarTrackBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}"/> | |
<SolidColorBrush x:Key="ScrollBarTrackBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="SearchBoxBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SearchBoxBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SearchBoxDisabledTextThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="SearchBoxPointerOverTextThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxFocusedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SearchBoxFocusedTextThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxFocusedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="SearchBoxButtonForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="SearchBoxSeparatorSuggestionForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxHitHighlightForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxHitHighlightSelectedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="SearchBoxIMECandidateListSeparatorThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="SearchBoxForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SettingsFlyoutBackgroundThemeBrush" Color="{ThemeResource SystemColorWindowColor}" /> | |
<SolidColorBrush x:Key="SettingsFlyoutBackButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="SettingsFlyoutHeaderBackgroundThemeBrush" Color="{ThemeResource SystemColorWindowColor}" /> | |
<SolidColorBrush x:Key="SettingsFlyoutHeaderForegroundThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="SliderBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SliderDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="SliderThumbBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SliderThumbBorderThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="SliderThumbDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="SliderThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="SliderThumbPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="SliderThumbPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="SliderThumbPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SliderTickMarkInlineBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SliderTickMarkInlineDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="SliderTickmarkOutsideBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="SliderTickMarkOutsideDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="SliderTrackBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SliderTrackDecreaseBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="SliderTrackDecreaseDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SliderTrackDecreasePointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="SliderTrackDecreasePressedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="SliderTrackDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SliderTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SliderTrackPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="SliderHeaderForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxForegroundHeaderThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="TextSelectionHighlightColorThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="TextBoxButtonBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="TextBoxButtonPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxButtonPointerOverForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxButtonPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="TextBoxDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ThumbBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ThumbBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}"/> | |
<SolidColorBrush x:Key="ThumbPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="ThumbPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}"/> | |
<SolidColorBrush x:Key="ThumbPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}"/> | |
<SolidColorBrush x:Key="TimePickerForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="TimePickerHeaderForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedForegroundThemeBrush" Color="{ThemeResource SystemColorHighlightTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleButtonPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchHeaderDisabledForegroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchHeaderForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchOuterBorderBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchOuterBorderDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBorderThemeBrush" Color="{ThemeResource SystemColorGrayTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorHighlightColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBorderThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPressedForegroundThemeBrush" Color="{ThemeResource SystemColorButtonTextColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackDisabledBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackPointerOverBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackPressedBackgroundThemeBrush" Color="{ThemeResource SystemColorButtonFaceColor}" /> | |
<SolidColorBrush x:Key="ToolTipBackgroundThemeBrush" Color="{ThemeResource SystemColorWindowColor}" /> | |
<SolidColorBrush x:Key="ToolTipBorderThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
<SolidColorBrush x:Key="ToolTipForegroundThemeBrush" Color="{ThemeResource SystemColorWindowTextColor}" /> | |
</ResourceDictionary> | |
<ResourceDictionary x:Key="Light"> | |
<!-- Light theme resources --> | |
<!-- | |
****************************************************************** | |
DEFAULT COMMON CONTROL PROPERTIES | |
****************************************************************** | |
--> | |
<FontFamily x:Key="ContentControlThemeFontFamily">Segoe UI</FontFamily> | |
<FontFamily x:Key="SettingsFlyoutHeaderThemeFontFamily">Segoe UI</FontFamily> | |
<FontFamily x:Key="SymbolThemeFontFamily">Segoe UI Symbol</FontFamily> | |
<x:Double x:Key="AppBarThemeMinHeight">68</x:Double> | |
<x:Double x:Key="CheckBoxBorderThemeThickness">2</x:Double> | |
<x:Double x:Key="ComboBoxArrowThemeFontSize">21</x:Double> | |
<x:Double x:Key="ComboBoxThemeMinWidth">64</x:Double> | |
<x:Double x:Key="ComboBoxPopupThemeMinWidth">80</x:Double> | |
<x:Double x:Key="ControlContentThemeFontSize">14.667</x:Double> | |
<x:Double x:Key="DatePickerSelectorThemeMinWidth">80</x:Double> | |
<x:Double x:Key="DatePickerSpacingThemeWidth">20</x:Double> | |
<x:Double x:Key="DatePickerSpacingThemeHeight">20</x:Double> | |
<x:Double x:Key="FlyoutThemeMaxHeight">718</x:Double> | |
<x:Double x:Key="FlyoutThemeMaxWidth">450</x:Double> | |
<x:Double x:Key="FlyoutThemeMinHeight">54</x:Double> | |
<x:Double x:Key="FlyoutThemeMinWidth">70</x:Double> | |
<x:Double x:Key="GridViewItemSelectedBorderThemeThickness">4</x:Double> | |
<x:Double x:Key="HubHeaderThemeFontSize">56</x:Double> | |
<x:Double x:Key="HubSectionHeaderThemeFontSize">26.667</x:Double> | |
<x:Double x:Key="ListViewItemDisabledThemeOpacity">0.55</x:Double> | |
<x:Double x:Key="ListViewItemDragThemeOpacity">0.60</x:Double> | |
<x:Double x:Key="ListViewItemReorderHintThemeOffset">40.0</x:Double> | |
<x:Double x:Key="ListViewItemSelectedBorderThemeThickness">4</x:Double> | |
<x:Double x:Key="MenuFlyoutSeparatorThemeHeight">1</x:Double> | |
<x:Double x:Key="ProgressBarThemeMinHeight">6</x:Double> | |
<x:Double x:Key="RadioButtonBorderThemeThickness">2</x:Double> | |
<x:Double x:Key="ScrollBarTrackBorderThemeThickness">0</x:Double> | |
<x:Double x:Key="SearchBoxContentThemeFontSize">15</x:Double> | |
<x:Double x:Key="SearchBoxResultSuggestionImageThemeWidth">40</x:Double> | |
<x:Double x:Key="SearchBoxResultSuggestionImageThemeHeight">40</x:Double> | |
<x:Double x:Key="SearchBoxSuggestionPopupThemeMinWidth">270</x:Double> | |
<x:Double x:Key="SearchBoxSuggestionPopupThemeMaxHeight">300</x:Double> | |
<x:Double x:Key="SearchBoxTextBoxThemeMinHeight">28</x:Double> | |
<x:Double x:Key="SemanticZoomButtonFontSize">14.667</x:Double> | |
<x:Double x:Key="SettingsFlyoutHeaderThemeFontSize">26.667</x:Double> | |
<x:Double x:Key="SliderOutsideTickBarThemeHeight">6</x:Double> | |
<x:Double x:Key="SliderTrackThemeHeight">11</x:Double> | |
<x:Double x:Key="TextControlBackgroundThemeOpacity">0.8</x:Double> | |
<x:Double x:Key="TextControlBorderThemeOpacity">0.45</x:Double> | |
<x:Double x:Key="TextControlPointerOverBackgroundThemeOpacity">0.87</x:Double> | |
<x:Double x:Key="TextControlPointerOverBorderThemeOpacity">0.73</x:Double> | |
<x:Double x:Key="TextControlThemeMinHeight">32</x:Double> | |
<x:Double x:Key="TextControlThemeMinWidth">64</x:Double> | |
<x:Double x:Key="TimePickerSelectorThemeMinWidth">80</x:Double> | |
<x:Double x:Key="ToolTipContentThemeFontSize">12</x:Double> | |
<Thickness x:Key="AppBarBottomBorderThemeThickness">0,2,0,0</Thickness> | |
<Thickness x:Key="AppBarBottomThemePadding">0,0,0,2</Thickness> | |
<Thickness x:Key="AppBarTopBorderThemeThickness">0,0,0,2</Thickness> | |
<Thickness x:Key="AppBarTopThemePadding">0,2,0,0</Thickness> | |
<Thickness x:Key="ButtonBorderThemeThickness">0</Thickness> | |
<Thickness x:Key="ComboBoxBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ComboBoxHeaderThemeMargin">0,0,0,6</Thickness> | |
<Thickness x:Key="ComboBoxPopupBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="DatePickerHeaderThemeMargin">0,0,0,6</Thickness> | |
<Thickness x:Key="FlipViewButtonBorderThemeThickness">1</Thickness> | |
<Thickness x:Key="FlyoutBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="FlyoutContentThemePadding">20,17,20,20</Thickness> | |
<Thickness x:Key="GridViewItemCompactSelectedBorderThemeThickness">4</Thickness> | |
<Thickness x:Key="HyperlinkButtonBorderThemeThickness">0</Thickness> | |
<Thickness x:Key="ListBoxBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ListViewItemCompactSelectedBorderThemeThickness">4</Thickness> | |
<Thickness x:Key="MenuFlyoutPresenterThemePadding">0,5</Thickness> | |
<Thickness x:Key="MenuFlyoutItemThemePadding">20,10,20,12</Thickness> | |
<Thickness x:Key="MenuFlyoutItemPlaceholderThemeThickness">26,0,0,0</Thickness> | |
<Thickness x:Key="MenuFlyoutSeparatorThemePadding">20,9,20,10</Thickness> | |
<Thickness x:Key="ProgressBarBorderThemeThickness">0</Thickness> | |
<Thickness x:Key="RepeatButtonBorderThemeThickness">0</Thickness> | |
<Thickness x:Key="ScrollBarPanningBorderThemeThickness">1</Thickness> | |
<Thickness x:Key="SearchBoxQuerySuggestionThemeMargin">18,9,18,12</Thickness> | |
<Thickness x:Key="SearchBoxResultSuggestionThemeMargin">18,10,18,10</Thickness> | |
<Thickness x:Key="SearchBoxSeparatorSuggestionThemeMargin">18,9,18,12</Thickness> | |
<Thickness x:Key="SearchBoxSuggestionSubcomponentThemeMargin">0,0,10,0</Thickness> | |
<Thickness x:Key="SearchBoxThemePadding">8,4,8,4</Thickness> | |
<Thickness x:Key="SearchBoxIMECandidateListSeparatorThemeThickness">0,2,0,0</Thickness> | |
<Thickness x:Key="SearchBoxBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="SliderBorderThemeThickness">0</Thickness> | |
<Thickness x:Key="SliderHeaderThemeMargin">6</Thickness> | |
<Thickness x:Key="TextControlBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="TextControlThemePadding">10,3,10,5</Thickness> | |
<Thickness x:Key="TextControlPlaceholderThemePadding">12,5,10,5</Thickness> | |
<Thickness x:Key="TimePickerHeaderThemeMargin">0,0,0,6</Thickness> | |
<Thickness x:Key="TimePickerFirstHostThemeMargin">0,0,20,0</Thickness> | |
<Thickness x:Key="TimePickerThirdHostThemeMargin">20,0,0,0</Thickness> | |
<Thickness x:Key="ToggleButtonBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="ToolTipBorderThemeThickness">2</Thickness> | |
<Thickness x:Key="HubSectionHeaderThemeMargin">0,0,0,20</Thickness> | |
<FontWeight x:Key="ComboBoxHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="ComboBoxPlaceholderTextThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="DatePickerHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="SearchBoxButtonThemeFontWeight">Normal</FontWeight> | |
<FontWeight x:Key="SearchBoxContentThemeFontWeight">Normal</FontWeight> | |
<FontWeight x:Key="TimePickerHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="SliderHeaderThemeFontWeight">SemiLight</FontWeight> | |
<FontWeight x:Key="HubHeaderThemeFontWeight">Light</FontWeight> | |
<FontWeight x:Key="HubSectionHeaderThemeFontWeight">SemiLight</FontWeight> | |
<!-- | |
****************************************************************** | |
DEFAULT COMMON CONTROL COLORS | |
****************************************************************** | |
--> | |
<SolidColorBrush x:Key="AppBarBackgroundThemeBrush" Color="#FFF0F0F0" /> | |
<SolidColorBrush x:Key="AppBarBorderThemeBrush" Color="#FFF0F0F0" /> | |
<SolidColorBrush x:Key="AppBarItemBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="AppBarItemDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="AppBarItemForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarItemPointerOverBackgroundThemeBrush" Color="#3D000000" /> | |
<SolidColorBrush x:Key="AppBarItemPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarItemPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="AppBarSeparatorForegroundThemeBrush" Color="#FF7B7B7B" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBackgroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedDisabledForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPointerOverBorderThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonCheckedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="AppBarToggleButtonPointerOverBackgroundThemeBrush" Color="#3D000000" /> | |
<SolidColorBrush x:Key="ApplicationForegroundThemeBrush" Color="#DE000000" /> | |
<SolidColorBrush x:Key="ApplicationHeaderForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ApplicationPageBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ApplicationPointerOverForegroundThemeBrush" Color="#CC000000" /> | |
<SolidColorBrush x:Key="ApplicationPressedForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ApplicationSecondaryForegroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="BackButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="BackButtonDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="BackButtonForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="BackButtonPointerOverBackgroundThemeBrush" Color="#3D000000" /> | |
<SolidColorBrush x:Key="BackButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="BackButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ButtonBackgroundThemeBrush" Color="#B3B6B6B6" /> | |
<SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="#33000000" /> | |
<SolidColorBrush x:Key="ButtonDisabledBackgroundThemeBrush" Color="#66CACACA" /> | |
<SolidColorBrush x:Key="ButtonDisabledBorderThemeBrush" Color="#1A000000" /> | |
<SolidColorBrush x:Key="ButtonDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ButtonPointerOverBackgroundThemeBrush" Color="#D1CDCDCD" /> | |
<SolidColorBrush x:Key="ButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ButtonPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxBorderThemeBrush" Color="#45000000" /> | |
<SolidColorBrush x:Key="CheckBoxContentDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="CheckBoxContentForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="CheckBoxDisabledBackgroundThemeBrush" Color="#66CACACA" /> | |
<SolidColorBrush x:Key="CheckBoxDisabledBorderThemeBrush" Color="#26000000" /> | |
<SolidColorBrush x:Key="CheckBoxDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="CheckBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="CheckBoxPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="CheckBoxPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="CheckBoxPointerOverBorderThemeBrush" Color="#70000000" /> | |
<SolidColorBrush x:Key="CheckBoxPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="CheckBoxPressedBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="CheckBoxPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxArrowDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ComboBoxArrowForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxArrowPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxBorderThemeBrush" Color="#45000000" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledBackgroundThemeBrush" Color="#66CACACA" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledBorderThemeBrush" Color="#26000000" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ComboBoxFocusedBackgroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ComboBoxFocusedBorderThemeBrush" Color="#70000000" /> | |
<SolidColorBrush x:Key="ComboBoxFocusedForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ComboBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxHeaderForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxItemDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ComboBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> | |
<SolidColorBrush x:Key="ComboBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3"/> | |
<SolidColorBrush x:Key="ComboBoxItemPressedForegroundThemeBrush" Color="#FF000000"/> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledBackgroundThemeBrush" Color="#8C000000" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledForegroundThemeBrush" Color="#99FFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="ComboBoxPlaceholderTextForegroundThemeBrush" Color="#88000000" /> | |
<SolidColorBrush x:Key="ComboBoxPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxPointerOverBorderThemeBrush" Color="#70000000" /> | |
<SolidColorBrush x:Key="ComboBoxPopupBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxPopupBorderThemeBrush" Color="#FF212121" /> | |
<SolidColorBrush x:Key="ComboBoxPopupForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ComboBoxPressedBorderThemeBrush" Color="#A3000000" /> | |
<SolidColorBrush x:Key="ComboBoxPressedHighlightThemeBrush" Color="#FFD3D3D3" /> | |
<SolidColorBrush x:Key="ComboBoxPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ComboBoxSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ComboBoxSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="DatePickerHeaderForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="DatePickerForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="DefaultTextForegroundThemeBrush" Color="Black" /> | |
<SolidColorBrush x:Key="FlipViewButtonBackgroundThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="FlipViewButtonBorderThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="FlipViewButtonForegroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="FlipViewButtonPointerOverBackgroundThemeBrush" Color="#F0D7D7D7" /> | |
<SolidColorBrush x:Key="FlipViewButtonPointerOverBorderThemeBrush" Color="#9EC1C1C1" /> | |
<SolidColorBrush x:Key="FlipViewButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="FlipViewButtonPressedBackgroundThemeBrush" Color="#BD292929" /> | |
<SolidColorBrush x:Key="FlipViewButtonPressedBorderThemeBrush" Color="#BD292929" /> | |
<SolidColorBrush x:Key="FlipViewButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="FlyoutBackgroundThemeBrush" Color="#FFFFFFFF"/> | |
<SolidColorBrush x:Key="FlyoutBorderThemeBrush" Color="#FF000000"/> | |
<SolidColorBrush x:Key="FocusVisualBlackStrokeThemeBrush" Color="Black" /> | |
<SolidColorBrush x:Key="FocusVisualWhiteStrokeThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="HyperlinkButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="HyperlinkButtonBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="HyperlinkDisabledThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="HyperlinkForegroundThemeBrush" Color="#FF4F1ACB" /> | |
<SolidColorBrush x:Key="HyperlinkPointerOverForegroundThemeBrush" Color="#CC4F1ACB" /> | |
<SolidColorBrush x:Key="HyperlinkPressedForegroundThemeBrush" Color="#994F1ACB" /> | |
<SolidColorBrush x:Key="HubSectionHeaderPointerOverForegroundThemeBrush" Color="#FFD1D1D1" /> | |
<SolidColorBrush x:Key="HubSectionHeaderPressedForegroundThemeBrush" Color="#FF777777" /> | |
<SolidColorBrush x:Key="IMECandidateBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="IMECandidateForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="IMECandidatePointerOverBackgroundThemeBrush" Color="#21000000" /> | |
<SolidColorBrush x:Key="IMECandidatePointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="IMECandidateSecondaryForegroundThemeBrush" Color="#FF707070" /> | |
<SolidColorBrush x:Key="IMECandidateSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="IMECandidateSelectedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="IMECandidateListBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonBackgroundThemeBrush" Color="#7FD9D9D9" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonBorderThemeBrush" Color="#33000000" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonForegroundThemeBrush" Color="#7F000000" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPointerOverBackgroundThemeBrush" Color="#FFD9D9D9" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="IMECandidateListPagingButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="ListBoxBorderThemeBrush" Color="#45000000" /> | |
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListViewGroupHeaderForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListViewGroupHeaderPointerOverForegroundThemeBrush" Color="#CC000000" /> | |
<SolidColorBrush x:Key="ListViewGroupHeaderPressedForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> | |
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3" /> | |
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="#8C000000" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="#99FFFFFF" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="ListViewItemCheckHintThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ListViewItemCheckSelectingThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ListViewItemCheckThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemDragBackgroundThemeBrush" Color="#994617B4" /> | |
<SolidColorBrush x:Key="ListViewItemDragForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="ListViewItemFocusBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListViewItemOverlayBackgroundThemeBrush" Color="#A6000000" /> | |
<SolidColorBrush x:Key="ListViewItemOverlaySecondaryForegroundThemeBrush" Color="#99FFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemOverlayForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ListViewItemPlaceholderBackgroundThemeBrush" Color="#FF3D3D3D" /> | |
<SolidColorBrush x:Key="ListViewItemPointerOverBackgroundThemeBrush" Color="#4D000000" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="MediaButtonForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MediaButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="MediaButtonPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MediaButtonPointerOverBackgroundThemeBrush" Color="#26FFFFFF" /> | |
<SolidColorBrush x:Key="MediaButtonPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="MediaButtonPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MediaButtonPressedBorderThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key='MediaControlPanelVideoThemeBrush' Color='#A3000000' /> | |
<SolidColorBrush x:Key='MediaControlPanelAudioThemeBrush' Color='#FF000000' /> | |
<SolidColorBrush x:Key='MediaDownloadProgressIndicatorThemeBrush' Color='#38FFFFFF' /> | |
<SolidColorBrush x:Key='MediaErrorBackgroundThemeBrush' Color='#FF000000' /> | |
<SolidColorBrush x:Key='MediaTextThemeBrush' Color='#FFFFFFFF' /> | |
<SolidColorBrush x:Key="MenuFlyoutItemFocusedBackgroundThemeBrush" Color="#FFE5E5E5" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemFocusedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPointerOverBackgroundThemeBrush" Color="#FFE5E5E5" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="MenuFlyoutItemPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="MenuFlyoutSeparatorThemeBrush" Color="#FF7A7A7A" /> | |
<SolidColorBrush x:Key="ProgressBarBackgroundThemeBrush" Color="#30000000" /> | |
<SolidColorBrush x:Key="ProgressBarBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ProgressBarForegroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ProgressBarIndeterminateForegroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="RadioButtonBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonBorderThemeBrush" Color="#45000000" /> | |
<SolidColorBrush x:Key="RadioButtonContentDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="RadioButtonContentForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RadioButtonDisabledBackgroundThemeBrush" Color="#66CACACA" /> | |
<SolidColorBrush x:Key="RadioButtonDisabledBorderThemeBrush" Color="#26000000" /> | |
<SolidColorBrush x:Key="RadioButtonDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="RadioButtonForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RadioButtonPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> | |
<SolidColorBrush x:Key="RadioButtonPointerOverBorderThemeBrush" Color="#70000000" /> | |
<SolidColorBrush x:Key="RadioButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RadioButtonPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RadioButtonPressedBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RadioButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="RepeatButtonBorderThemeBrush" Color="#33000000" /> | |
<SolidColorBrush x:Key="RepeatButtonDisabledBackgroundThemeBrush" Color="#66CACACA" /> | |
<SolidColorBrush x:Key="RepeatButtonDisabledBorderThemeBrush" Color="#1A000000" /> | |
<SolidColorBrush x:Key="RepeatButtonDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="RepeatButtonForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RepeatButtonPointerOverBackgroundThemeBrush" Color="#D1CDCDCD" /> | |
<SolidColorBrush x:Key="RepeatButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RepeatButtonPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="RepeatButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ScrollBarButtonForegroundThemeBrush" Color="#99000000"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBackgroundThemeBrush" Color="#FFDADADA"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPointerOverBorderThemeBrush" Color="#FFDADADA"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPointerOverForegroundThemeBrush" Color="#FF000000"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPressedBackgroundThemeBrush" Color="#99000000"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPressedBorderThemeBrush" Color="#99000000"/> | |
<SolidColorBrush x:Key="ScrollBarButtonPressedForegroundThemeBrush" Color="#FFFFFFFF"/> | |
<SolidColorBrush x:Key="ScrollBarPanningBackgroundThemeBrush" Color="#FFCDCDCD"/> | |
<SolidColorBrush x:Key="ScrollBarPanningBorderThemeBrush" Color="#7D9A9A9A"/> | |
<SolidColorBrush x:Key="ScrollBarThumbBackgroundThemeBrush" Color="#FFCDCDCD"/> | |
<SolidColorBrush x:Key="ScrollBarThumbBorderThemeBrush" Color="#3B555555"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBackgroundThemeBrush" Color="#FFDADADA"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPointerOverBorderThemeBrush" Color="#6BB7B7B7"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPressedBackgroundThemeBrush" Color="#99000000"/> | |
<SolidColorBrush x:Key="ScrollBarThumbPressedBorderThemeBrush" Color="#ED555555"/> | |
<SolidColorBrush x:Key="ScrollBarTrackBackgroundThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="ScrollBarTrackBorderThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="SearchBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> | |
<SolidColorBrush x:Key="SearchBoxBorderThemeBrush" Color="#FF2A2A2A" /> | |
<SolidColorBrush x:Key="SearchBoxDisabledBackgroundThemeBrush" Color="#66CACACA" /> | |
<SolidColorBrush x:Key="SearchBoxDisabledTextThemeBrush" Color="#38000000" /> | |
<SolidColorBrush x:Key="SearchBoxDisabledBorderThemeBrush" Color="#26000000" /> | |
<SolidColorBrush x:Key="SearchBoxPointerOverBackgroundThemeBrush" Color="#DDFFFFFF" /> | |
<SolidColorBrush x:Key="SearchBoxPointerOverTextThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="SearchBoxPointerOverBorderThemeBrush" Color="#88000000" /> | |
<SolidColorBrush x:Key="SearchBoxFocusedBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SearchBoxFocusedTextThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SearchBoxFocusedBorderThemeBrush" Color="#FF2A2A2A" /> | |
<SolidColorBrush x:Key="SearchBoxButtonBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="SearchBoxButtonForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="SearchBoxButtonPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SearchBoxButtonPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="SearchBoxSeparatorSuggestionForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SearchBoxHitHighlightForegroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="SearchBoxHitHighlightSelectedForegroundThemeBrush" Color="#FFA38BDA" /> | |
<SolidColorBrush x:Key="SearchBoxIMECandidateListSeparatorThemeBrush" Color="#FF2A2A2A"/> | |
<SolidColorBrush x:Key="SearchBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonBackgroundThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonBorderThemeBrush" Color="#59D5D5D5" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonForegroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBackgroundThemeBrush" Color="#FFDADADA" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverBorderThemeBrush" Color="#FFDADADA" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPressedBackgroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPressedBorderThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="SemanticZoomButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SettingsFlyoutBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SettingsFlyoutBackButtonPointerOverBackgroundThemeBrush" Color="#21FFFFFF" /> | |
<SolidColorBrush x:Key="SettingsFlyoutHeaderBackgroundThemeBrush" Color="#FF464646" /> | |
<SolidColorBrush x:Key="SettingsFlyoutHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="SliderBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="SliderDisabledBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="SliderThumbBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SliderThumbBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SliderThumbDisabledBackgroundThemeBrush" Color="#FF929292" /> | |
<SolidColorBrush x:Key="SliderThumbPointerOverBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SliderThumbPointerOverBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SliderThumbPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SliderThumbPressedBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="SliderTickMarkInlineBackgroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="SliderTickMarkInlineDisabledForegroundThemeBrush" Color="White" /> | |
<SolidColorBrush x:Key="SliderTickmarkOutsideBackgroundThemeBrush" Color="#80000000" /> | |
<SolidColorBrush x:Key="SliderTickMarkOutsideDisabledForegroundThemeBrush" Color="#80000000" /> | |
<SolidColorBrush x:Key="SliderTrackBackgroundThemeBrush" Color="#1A000000" /> | |
<SolidColorBrush x:Key="SliderTrackDecreaseBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="SliderTrackDecreaseDisabledBackgroundThemeBrush" Color="#1C000000" /> | |
<SolidColorBrush x:Key="SliderTrackDecreasePointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="SliderTrackDecreasePressedBackgroundThemeBrush" Color="#FF7241E4" /> | |
<SolidColorBrush x:Key="SliderTrackDisabledBackgroundThemeBrush" Color="#1A000000" /> | |
<SolidColorBrush x:Key="SliderTrackPointerOverBackgroundThemeBrush" Color="#26000000" /> | |
<SolidColorBrush x:Key="SliderTrackPressedBackgroundThemeBrush" Color="#33000000" /> | |
<SolidColorBrush x:Key="SliderHeaderForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="TextBoxForegroundHeaderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="#AB000000" /> | |
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="#A3000000" /> | |
<SolidColorBrush x:Key="TextBoxButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxButtonBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxButtonForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="TextSelectionHighlightColorThemeBrush" Color="#FF4617b4"/> | |
<SolidColorBrush x:Key="TextBoxButtonPointerOverBackgroundThemeBrush" Color="#FFDEDEDE" /> | |
<SolidColorBrush x:Key="TextBoxButtonPointerOverBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxButtonPointerOverForegroundThemeBrush" Color="Black" /> | |
<SolidColorBrush x:Key="TextBoxButtonPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="TextBoxButtonPressedBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="TextBoxButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="TextBoxDisabledBackgroundThemeBrush" Color="#66CACACA" /> | |
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="#26000000" /> | |
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="#FF666666" /> | |
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ThumbBackgroundThemeBrush" Color="#FFCDCDCD"/> | |
<SolidColorBrush x:Key="ThumbBorderThemeBrush" Color="#3B555555"/> | |
<SolidColorBrush x:Key="ThumbPointerOverBackgroundThemeBrush" Color="#FFDADADA"/> | |
<SolidColorBrush x:Key="ThumbPointerOverBorderThemeBrush" Color="#6BB7B7B7"/> | |
<SolidColorBrush x:Key="ThumbPressedBackgroundThemeBrush" Color="#99000000"/> | |
<SolidColorBrush x:Key="ThumbPressedBorderThemeBrush" Color="#ED555555"/> | |
<SolidColorBrush x:Key="TimePickerForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="TimePickerHeaderForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ToggleButtonBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledBackgroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedDisabledForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBackgroundThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPointerOverBorderThemeBrush" Color="#99000000" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPressedBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonCheckedPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonDisabledBorderThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ToggleButtonDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ToggleButtonForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonPointerOverBackgroundThemeBrush" Color="#21000000" /> | |
<SolidColorBrush x:Key="ToggleButtonPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainBackgroundThemeBrush" Color="#FF4617B4" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainDisabledBackgroundThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> | |
<SolidColorBrush x:Key="ToggleSwitchCurtainPressedBackgroundThemeBrush" Color="#FF7241E4" /> | |
<SolidColorBrush x:Key="ToggleSwitchDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchHeaderDisabledForegroundThemeBrush" Color="#66000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchHeaderForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchOuterBorderBorderThemeBrush" Color="#59000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchOuterBorderDisabledBorderThemeBrush" Color="#33000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBackgroundThemeBrush" Color="#FF929292" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbDisabledBorderThemeBrush" Color="#FF929292" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPointerOverBorderThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPressedBackgroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchThumbPressedForegroundThemeBrush" Color="#FF000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackBackgroundThemeBrush" Color="#59000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackBorderThemeBrush" Color="Transparent" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackDisabledBackgroundThemeBrush" Color="#1F000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackPointerOverBackgroundThemeBrush" Color="#4A000000" /> | |
<SolidColorBrush x:Key="ToggleSwitchTrackPressedBackgroundThemeBrush" Color="#42000000" /> | |
<SolidColorBrush x:Key="ToolTipBackgroundThemeBrush" Color="#FFFFFFFF" /> | |
<SolidColorBrush x:Key="ToolTipBorderThemeBrush" Color="#FF808080" /> | |
<SolidColorBrush x:Key="ToolTipForegroundThemeBrush" Color="#FF666666" /> | |
</ResourceDictionary> | |
</ResourceDictionary.ThemeDictionaries> | |
<!-- Default style for Windows.UI.Xaml.Controls.Button --> | |
<Style TargetType="Button"> | |
<Setter Property="Background" Value="{ThemeResource ButtonBackgroundThemeBrush}" /> | |
<Setter Property="Foreground" Value="{ThemeResource ButtonForegroundThemeBrush}"/> | |
<Setter Property="BorderBrush" Value="{ThemeResource ButtonBorderThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource ButtonBorderThemeThickness}" /> | |
<Setter Property="Padding" Value="12,4,12,4" /> | |
<Setter Property="HorizontalAlignment" Value="Left" /> | |
<Setter Property="VerticalAlignment" Value="Center" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontWeight" Value="SemiBold" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="Button"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="BorderBrush"> | |
<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="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border x:Name="Border" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Margin="3"> | |
<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> | |
<Rectangle x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" /> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.RepeatButton --> | |
<Style TargetType="RepeatButton"> | |
<Setter Property="Background" Value="{ThemeResource ButtonBackgroundThemeBrush}" /> | |
<Setter Property="Foreground" Value="{ThemeResource RepeatButtonForegroundThemeBrush}"/> | |
<Setter Property="BorderBrush" Value="{ThemeResource RepeatButtonBorderThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource RepeatButtonBorderThemeThickness}" /> | |
<Setter Property="Padding" Value="12,4,12,5" /> | |
<Setter Property="HorizontalAlignment" Value="Left" /> | |
<Setter Property="VerticalAlignment" Value="Center" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontWeight" Value="SemiBold" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="RepeatButton"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RepeatButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RepeatButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RepeatButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RepeatButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RepeatButtonDisabledBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RepeatButtonDisabledBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RepeatButtonDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border x:Name="Border" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Margin="3"> | |
<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> | |
<Rectangle x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" /> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.Primitives.ToggleButton --> | |
<Style TargetType="ToggleButton"> | |
<Setter Property="Background" Value="{ThemeResource ToggleButtonBackgroundThemeBrush}" /> | |
<Setter Property="Foreground" Value="{ThemeResource ToggleButtonForegroundThemeBrush}"/> | |
<Setter Property="BorderBrush" Value="{ThemeResource ToggleButtonBorderThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource ToggleButtonBorderThemeThickness}" /> | |
<Setter Property="Padding" Value="12,4,12,5" /> | |
<Setter Property="HorizontalAlignment" Value="Left" /> | |
<Setter Property="VerticalAlignment" Value="Center" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontWeight" Value="SemiBold" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ToggleButton"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonDisabledBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Checked"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="CheckedPointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="CheckedPressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="CheckedDisabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedDisabledBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonDisabledBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonCheckedDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Indeterminate" /> | |
<VisualState x:Name="IndeterminatePointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="IndeterminatePressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="IndeterminateDisabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonDisabledBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border x:Name="Border" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Margin="3"> | |
<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> | |
<Rectangle x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" /> | |
</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="12,4,12,5" /> | |
<Setter Property="HorizontalAlignment" Value="Left" /> | |
<Setter Property="VerticalAlignment" Value="Center" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontWeight" Value="SemiBold" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="HyperlinkButton"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource HyperlinkPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource HyperlinkPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource HyperlinkDisabledThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border x:Name="Border" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Margin="3"> | |
<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> | |
<Rectangle x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" /> | |
</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"> | |
<Grid x:Name="RootGrid" Width="100" 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="RootGrid" Storyboard.TargetProperty="Width"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="60"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPointerOverBackgroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPointerOverForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OutlineEllipse" Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" 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="OutlineEllipse" 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> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation | |
Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0"/> | |
<DoubleAnimation | |
Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<StackPanel VerticalAlignment="Top" Margin="0,14,0,13"> | |
<Grid Width="40" Height="40" Margin="0,0,0,5" HorizontalAlignment="Center"> | |
<Ellipse | |
x:Name="BackgroundEllipse" | |
UseLayoutRounding="False" | |
Width="40" | |
Height="40" | |
Fill="{ThemeResource AppBarItemBackgroundThemeBrush}"/> | |
<Ellipse | |
x:Name="OutlineEllipse" | |
UseLayoutRounding="False" | |
Width="40" | |
Height="40" | |
Stroke="{ThemeResource AppBarItemForegroundThemeBrush}" | |
StrokeThickness="2" /> | |
<ContentPresenter | |
x:Name="Content" | |
Content="{TemplateBinding Icon}" | |
Foreground="{TemplateBinding Foreground}" | |
HorizontalAlignment="Stretch" | |
VerticalAlignment="Stretch" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</Grid> | |
<TextBlock | |
x:Name="TextLabel" | |
Text="{TemplateBinding Label}" | |
Foreground="{ThemeResource AppBarItemForegroundThemeBrush}" | |
FontSize="12" | |
FontFamily="{TemplateBinding FontFamily}" | |
TextAlignment="Center" | |
Width="88" | |
TextWrapping="Wrap"/> | |
</StackPanel> | |
<Rectangle | |
x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5"/> | |
<Rectangle | |
x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5"/> | |
</Grid> | |
</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"> | |
<Grid x:Name="RootGrid" Width="100" 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="RootGrid" Storyboard.TargetProperty="Width"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="60"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonPointerOverBackgroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPointerOverForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OutlineEllipse" Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" 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="OutlineEllipse" 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="OutlineEllipse" Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedBorderThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" 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="CheckedPointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="OutlineEllipse" Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedPointerOverBorderThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedPointerOverBackgroundThemeBrush}"/> | |
</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="OutlineEllipse" Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedPressedBorderThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" 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="OutlineEllipse" Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarToggleButtonCheckedDisabledBorderThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" 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> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation | |
Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0"/> | |
<DoubleAnimation | |
Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<StackPanel VerticalAlignment="Top" Margin="0,14,0,13"> | |
<Grid Width="40" Height="40" Margin="0,0,0,5" HorizontalAlignment="Center"> | |
<Ellipse | |
x:Name="BackgroundEllipse" | |
UseLayoutRounding="False" | |
Width="40" | |
Height="40" | |
Fill="{ThemeResource AppBarItemBackgroundThemeBrush}"/> | |
<Ellipse | |
x:Name="OutlineEllipse" | |
UseLayoutRounding="False" | |
Width="40" | |
Height="40" | |
Stroke="{ThemeResource AppBarItemForegroundThemeBrush}" | |
StrokeThickness="2" /> | |
<ContentPresenter | |
x:Name="Content" | |
Content="{TemplateBinding Icon}" | |
Foreground="{TemplateBinding Foreground}" | |
HorizontalAlignment="Stretch" | |
VerticalAlignment="Stretch" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</Grid> | |
<TextBlock | |
x:Name="TextLabel" | |
Text="{TemplateBinding Label}" | |
Foreground="{ThemeResource AppBarItemForegroundThemeBrush}" | |
FontSize="12" | |
FontFamily="{TemplateBinding FontFamily}" | |
TextAlignment="Center" | |
Width="88" | |
TextWrapping="Wrap"/> | |
</StackPanel> | |
<Rectangle | |
x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5"/> | |
<Rectangle | |
x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5"/> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.AppBarSeparator --> | |
<Style TargetType="AppBarSeparator"> | |
<Setter Property="Foreground" Value="{ThemeResource AppBarSeparatorForegroundThemeBrush}"/> | |
<Setter Property="VerticalAlignment" Value="Top"/> | |
<Setter Property="HorizontalAlignment" Value="Left"/> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="AppBarSeparator"> | |
<Rectangle | |
x:Name="SeparatorRectangle" | |
Width="1" | |
Height="40" | |
Fill="{TemplateBinding Foreground}" | |
Margin="29,14,30,0" | |
VerticalAlignment="Top"> | |
<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="SeparatorRectangle" Storyboard.TargetProperty="Margin"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="19,14,20,0"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
</Rectangle> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.RadioButton --> | |
<Style TargetType="RadioButton"> | |
<Setter Property="Background" Value="Transparent" /> | |
<Setter Property="Foreground" Value="{ThemeResource RadioButtonContentForegroundThemeBrush}"/> | |
<Setter Property="Padding" Value="1,4,0,0" /> | |
<Setter Property="HorizontalAlignment" Value="Stretch" /> | |
<Setter Property="VerticalAlignment" Value="Center" /> | |
<Setter Property="HorizontalContentAlignment" Value="Left" /> | |
<Setter Property="VerticalContentAlignment" Value="Top" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="RadioButton"> | |
<Border Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonDisabledBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundEllipse" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonDisabledBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource RadioButtonContentDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="CheckStates"> | |
<VisualState x:Name="Checked"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unchecked" /> | |
<VisualState x:Name="Indeterminate" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="29" /> | |
<ColumnDefinition Width="*" /> | |
</Grid.ColumnDefinitions> | |
<Grid VerticalAlignment="Top"> | |
<Ellipse x:Name="BackgroundEllipse" | |
Width="23" | |
Height="23" | |
UseLayoutRounding="False" | |
Fill="{ThemeResource RadioButtonBackgroundThemeBrush}" | |
Stroke="{ThemeResource RadioButtonBorderThemeBrush}" | |
StrokeThickness="{ThemeResource RadioButtonBorderThemeThickness}" /> | |
<Ellipse x:Name="CheckGlyph" | |
Width="13" | |
Height="13" | |
UseLayoutRounding="False" | |
Opacity="0" | |
Fill="{ThemeResource RadioButtonForegroundThemeBrush}" /> | |
<Rectangle x:Name="FocusVisualWhite" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" | |
Width="29" | |
Height="29" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" | |
Width="29" | |
Height="29" /> | |
</Grid> | |
<ContentPresenter x:Name="ContentPresenter" | |
Content="{TemplateBinding Content}" | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
Margin="{TemplateBinding Padding}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" | |
Grid.Column="1" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</Grid> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.CheckBox --> | |
<Style TargetType="CheckBox"> | |
<Setter Property="Background" Value="Transparent" /> | |
<Setter Property="Foreground" Value="{ThemeResource CheckBoxContentForegroundThemeBrush}"/> | |
<Setter Property="Padding" Value="2,3,0,0" /> | |
<Setter Property="HorizontalAlignment" Value="Stretch" /> | |
<Setter Property="VerticalAlignment" Value="Center" /> | |
<Setter Property="HorizontalContentAlignment" Value="Left"/> | |
<Setter Property="VerticalContentAlignment" Value="Top"/> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="CheckBox"> | |
<Border Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="IndeterminateGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="IndeterminateGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalRectangle" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="IndeterminateGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxContentDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="CheckStates"> | |
<VisualState x:Name="Checked"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unchecked" /> | |
<VisualState x:Name="Indeterminate"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="IndeterminateGlyph" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="27" /> | |
<ColumnDefinition Width="*" /> | |
</Grid.ColumnDefinitions> | |
<Grid VerticalAlignment="Top"> | |
<Rectangle x:Name="NormalRectangle" | |
Fill="{ThemeResource CheckBoxBackgroundThemeBrush}" | |
Stroke="{ThemeResource CheckBoxBorderThemeBrush}" | |
StrokeThickness="{ThemeResource CheckBoxBorderThemeThickness}" | |
UseLayoutRounding="False" | |
Height="21" | |
Width="21" /> | |
<Path x:Name="CheckGlyph" | |
Data="F1 M 0,58 L 2,56 L 6,60 L 13,51 L 15,53 L 6,64 z" | |
Fill="{ThemeResource CheckBoxForegroundThemeBrush}" | |
Height="14" | |
Stretch="Fill" | |
Width="16" | |
Opacity="0" | |
FlowDirection="LeftToRight" /> | |
<Rectangle x:Name="IndeterminateGlyph" | |
Width="9" | |
Height="9" | |
Fill="{ThemeResource CheckBoxForegroundThemeBrush}" | |
Opacity="0" | |
UseLayoutRounding="False" /> | |
<Rectangle x:Name="FocusVisualWhite" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" | |
Width="27" | |
Height="27" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" | |
Width="27" | |
Height="27" /> | |
</Grid> | |
<ContentPresenter x:Name="ContentPresenter" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
Content="{TemplateBinding Content}" | |
Margin="{TemplateBinding Padding}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" | |
Grid.Column="1" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</Grid> | |
</Border> | |
</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="Background" Value="{ThemeResource TextBoxBackgroundThemeBrush}" /> | |
<Setter Property="BorderBrush" Value="{ThemeResource TextBoxBorderThemeBrush}" /> | |
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource TextControlBorderThemeThickness}" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<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="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="TextBox"> | |
<Grid> | |
<Grid.Resources> | |
<Style x:Name="DeleteButtonStyle" TargetType="Button"> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="Button"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GlyphElement" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GlyphElement" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
To="0" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
To="0" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border x:Name="BorderElement" | |
BorderBrush="{ThemeResource TextBoxButtonBorderThemeBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"/> | |
<Border x:Name="BackgroundElement" | |
Background="{ThemeResource TextBoxButtonBackgroundThemeBrush}" | |
Margin="{TemplateBinding BorderThickness}"> | |
<TextBlock x:Name="GlyphElement" | |
Foreground="{ThemeResource TextBoxButtonForegroundThemeBrush}" | |
VerticalAlignment="Center" | |
HorizontalAlignment="Center" | |
FontStyle="Normal" | |
Text="" | |
FontFamily="{ThemeResource SymbolThemeFontFamily}" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</Border> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
</Grid.Resources> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement" | |
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> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Normal"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlBackgroundThemeOpacity}" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlBorderThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlPointerOverBackgroundThemeOpacity}" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlPointerOverBorderThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Focused" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="ButtonStates"> | |
<VisualState x:Name="ButtonVisible"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DeleteButton" | |
Storyboard.TargetProperty="Visibility"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Visible</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="ButtonCollapsed" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="*" /> | |
<ColumnDefinition Width="Auto" /> | |
</Grid.ColumnDefinitions> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="*" /> | |
</Grid.RowDefinitions> | |
<Border x:Name="BackgroundElement" | |
Grid.Row="1" | |
Background="{TemplateBinding Background}" | |
Margin="{TemplateBinding BorderThickness}" | |
Grid.ColumnSpan="2" | |
Grid.RowSpan="1"/> | |
<Border x:Name="BorderElement" | |
Grid.Row="1" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Grid.ColumnSpan="2" | |
Grid.RowSpan="1"/> | |
<ContentPresenter x:Name="HeaderContentPresenter" | |
Grid.Row="0" | |
Foreground="{ThemeResource TextBoxForegroundHeaderThemeBrush}" | |
Margin="0,4,0,4" | |
Grid.ColumnSpan="2" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
FontWeight="Semilight" /> | |
<ScrollViewer x:Name="ContentElement" | |
Grid.Row="1" | |
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" | |
AutomationProperties.AccessibilityView="Raw" | |
ZoomMode="Disabled" /> | |
<ContentControl x:Name="PlaceholderTextContentPresenter" | |
Grid.Row="1" | |
Foreground="{ThemeResource TextBoxPlaceholderTextThemeBrush}" | |
Margin="{TemplateBinding BorderThickness}" | |
Padding="{TemplateBinding Padding}" | |
IsTabStop="False" | |
Grid.ColumnSpan="2" | |
Content="{TemplateBinding PlaceholderText}" | |
IsHitTestVisible="False"/> | |
<Button x:Name="DeleteButton" | |
Grid.Row="1" | |
Style="{StaticResource DeleteButtonStyle}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
IsTabStop="False" | |
Grid.Column="1" | |
Visibility="Collapsed" | |
FontSize="{TemplateBinding FontSize}" | |
VerticalAlignment="Stretch"/> | |
</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="Foreground" Value="{ThemeResource TextBoxForegroundThemeBrush}" /> | |
<Setter Property="Background" Value="{ThemeResource TextBoxBackgroundThemeBrush}" /> | |
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" /> | |
<Setter Property="BorderBrush" Value="{ThemeResource TextBoxBorderThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource TextControlBorderThemeThickness}" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" /> | |
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden" /> | |
<Setter Property="Padding" Value="{ThemeResource TextControlThemePadding}"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="PasswordBox"> | |
<Grid> | |
<Grid.Resources> | |
<Style x:Name="RevealButtonStyle" TargetType="Button"> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="Button"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GlyphElement" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GlyphElement" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
To="0" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
To="0" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border x:Name="BorderElement" | |
BorderBrush="{ThemeResource TextBoxButtonBorderThemeBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"/> | |
<Border x:Name="BackgroundElement" | |
Background="{ThemeResource TextBoxButtonBackgroundThemeBrush}" | |
Margin="{TemplateBinding BorderThickness}"> | |
<TextBlock x:Name="GlyphElement" | |
Foreground="{ThemeResource TextBoxButtonForegroundThemeBrush}" | |
VerticalAlignment="Center" | |
HorizontalAlignment="Center" | |
FontStyle="Normal" | |
Text="" | |
FontFamily="{ThemeResource SymbolThemeFontFamily}" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</Border> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
</Grid.Resources> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement" | |
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> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Normal"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlBackgroundThemeOpacity}" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlBorderThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlPointerOverBackgroundThemeOpacity}" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlPointerOverBorderThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Focused" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="ButtonStates"> | |
<VisualState x:Name="ButtonVisible"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RevealButton" | |
Storyboard.TargetProperty="Visibility"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Visible</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="ButtonCollapsed" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="*" /> | |
<ColumnDefinition Width="Auto" /> | |
</Grid.ColumnDefinitions> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="*" /> | |
</Grid.RowDefinitions> | |
<Border x:Name="BackgroundElement" | |
Grid.Row="1" | |
Background="{TemplateBinding Background}" | |
Margin="{TemplateBinding BorderThickness}" | |
Grid.ColumnSpan="2" | |
Grid.RowSpan="1"/> | |
<Border x:Name="BorderElement" | |
Grid.Row="1" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Grid.ColumnSpan="2" | |
Grid.RowSpan="1"/> | |
<ContentPresenter x:Name="HeaderContentPresenter" | |
Grid.Row="0" | |
Foreground="{ThemeResource TextBoxForegroundHeaderThemeBrush}" | |
Margin="0,4,0,4" | |
Grid.ColumnSpan="2" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
FontWeight="Semilight" /> | |
<ScrollViewer x:Name="ContentElement" | |
Grid.Row="1" | |
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="{TemplateBinding BorderThickness}" | |
Padding="{TemplateBinding Padding}" | |
IsTabStop="False" | |
ZoomMode="Disabled" | |
AutomationProperties.AccessibilityView="Raw"/> | |
<ContentControl x:Name="PlaceholderTextContentPresenter" | |
Grid.Row="1" | |
Foreground="{ThemeResource TextBoxPlaceholderTextThemeBrush}" | |
Margin="{TemplateBinding BorderThickness}" | |
Padding="{TemplateBinding Padding}" | |
IsTabStop="False" | |
Grid.ColumnSpan="2" | |
Content="{TemplateBinding PlaceholderText}" | |
IsHitTestVisible="False"/> | |
<Button x:Name="RevealButton" | |
Grid.Row="1" | |
Style="{StaticResource RevealButtonStyle}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
IsTabStop="False" | |
Grid.Column="1" | |
Visibility="Collapsed" | |
FontSize="{TemplateBinding FontSize}" | |
VerticalAlignment="Stretch"/> | |
</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="Foreground" Value="{ThemeResource TextBoxForegroundThemeBrush}" /> | |
<Setter Property="Background" Value="{ThemeResource TextBoxBackgroundThemeBrush}" /> | |
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" /> | |
<Setter Property="BorderBrush" Value="{ThemeResource TextBoxBorderThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource TextControlBorderThemeThickness}" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" /> | |
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" /> | |
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" /> | |
<Setter Property="TextWrapping" Value="Wrap" /> | |
<Setter Property="Padding" Value="{ThemeResource TextControlThemePadding}"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="RichEditBox"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement" | |
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> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Normal"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlBackgroundThemeOpacity}" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlBorderThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlPointerOverBackgroundThemeOpacity}" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlPointerOverBorderThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Focused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto"/> | |
<RowDefinition Height="*"/> | |
</Grid.RowDefinitions> | |
<Border x:Name="BackgroundElement" | |
Grid.Row="1" | |
Background="{TemplateBinding Background}" | |
Margin="{TemplateBinding BorderThickness}" | |
Grid.ColumnSpan="2" | |
Grid.RowSpan="2"/> | |
<Border x:Name="BorderElement" | |
Grid.Row="1" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Grid.ColumnSpan="2" | |
Grid.RowSpan="1"/> | |
<ContentPresenter x:Name="HeaderContentPresenter" | |
Grid.Row="0" | |
Foreground="{ThemeResource TextBoxForegroundHeaderThemeBrush}" | |
Margin="0,4,0,4" | |
Grid.ColumnSpan="2" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
FontWeight="Semilight" /> | |
<ScrollViewer x:Name="ContentElement" | |
Grid.Row="1" | |
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}" | |
Margin="{TemplateBinding BorderThickness}" | |
Padding="{TemplateBinding Padding}" | |
IsTabStop="False" | |
Grid.ColumnSpan="2" | |
Content="{TemplateBinding PlaceholderText}" | |
IsHitTestVisible="False"/> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.SearchBox --> | |
<Style TargetType="SearchBox"> | |
<Setter Property="Background" Value="{ThemeResource SearchBoxBackgroundThemeBrush}" /> | |
<Setter Property="BorderBrush" Value="{ThemeResource SearchBoxBorderThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource SearchBoxBorderThemeThickness}" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource SearchBoxContentThemeFontSize}" /> | |
<Setter Property="FontWeight" Value="{ThemeResource SearchBoxContentThemeFontWeight}"/> | |
<Setter Property="Foreground" Value="{ThemeResource SearchBoxForegroundThemeBrush}" /> | |
<Setter Property="Padding" Value="{ThemeResource SearchBoxThemePadding}"/> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="Typography.StylisticSet20" Value="True"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="SearchBox"> | |
<Grid x:Name="SearchBoxGrid"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxGrid" Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Background}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxBorder" Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=BorderBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButton" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Foreground}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxGrid" Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxBorder" Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButton" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxPointerOverTextThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxGrid" Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxDisabledBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxBorder" Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxDisabledBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButton" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxDisabledTextThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchTextBox" Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxGrid" Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxFocusedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxBorder" Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxFocusedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButton" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxButtonForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButton" Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxButtonBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchSuggestionsPopupBorder" Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxFocusedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="FocusedDropDown"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxGrid" Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxFocusedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBoxBorder" Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxFocusedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButton" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxFocusedTextThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchSuggestionsPopupBorder" Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxFocusedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid.Resources> | |
<Style x:Key="SearchButtonStyle" TargetType="Button"> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="VerticalAlignment" Value="Stretch" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="Button"> | |
<Grid Background="Transparent"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchGlyph" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButtonBackground" Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchGlyph" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxFocusedTextThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButtonBackground" Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxFocusedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused" /> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid x:Name="SearchButtonBackground" Background="{TemplateBinding Background}"> | |
<TextBlock x:Name="SearchGlyph" | |
AutomationProperties.AccessibilityView="Raw" | |
FontFamily="{ThemeResource SymbolThemeFontFamily}" | |
Foreground="{TemplateBinding Foreground}" | |
HorizontalAlignment="Center" | |
FontStyle="Normal" | |
Text="" | |
VerticalAlignment="Center" /> | |
</Grid> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<Style x:Key="SearchTextBoxStyle" TargetType="TextBox"> | |
<Setter Property="MinWidth" Value="{ThemeResource TextControlThemeMinWidth}" /> | |
<Setter Property="MinHeight" Value="{ThemeResource TextControlThemeMinHeight}" /> | |
<Setter Property="Foreground" Value="{ThemeResource TextBoxForegroundThemeBrush}" /> | |
<Setter Property="Background" Value="{ThemeResource TextBoxBackgroundThemeBrush}" /> | |
<Setter Property="BorderBrush" Value="{ThemeResource TextBoxBorderThemeBrush}" /> | |
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource TextControlBorderThemeThickness}" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<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="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="TextBox"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement" | |
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> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Normal"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlBackgroundThemeOpacity}" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlBorderThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="BackgroundElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlPointerOverBackgroundThemeOpacity}" /> | |
<DoubleAnimation Storyboard.TargetName="BorderElement" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource TextControlPointerOverBorderThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Focused" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="ButtonStates" /> | |
</VisualStateManager.VisualStateGroups> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="*" /> | |
</Grid.RowDefinitions> | |
<Border x:Name="BackgroundElement" | |
Grid.Row="1" | |
Background="{TemplateBinding Background}" | |
Margin="{TemplateBinding BorderThickness}" | |
Grid.RowSpan="1"/> | |
<Border x:Name="BorderElement" | |
Grid.Row="1" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Grid.RowSpan="1"/> | |
<ContentPresenter x:Name="HeaderContentPresenter" | |
Grid.Row="0" | |
Foreground="{ThemeResource TextBoxForegroundHeaderThemeBrush}" | |
Margin="0,4,0,4" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
FontWeight="Semilight" /> | |
<ScrollViewer x:Name="ContentElement" | |
Grid.Row="1" | |
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" | |
AutomationProperties.AccessibilityView="Raw" | |
ZoomMode="Disabled" /> | |
<ContentControl x:Name="PlaceholderTextContentPresenter" | |
Grid.Row="1" | |
Foreground="{ThemeResource TextBoxPlaceholderTextThemeBrush}" | |
Margin="{TemplateBinding BorderThickness}" | |
Padding="{TemplateBinding Padding}" | |
IsTabStop="False" | |
Grid.ColumnSpan="2" | |
Content="{TemplateBinding PlaceholderText}" | |
IsHitTestVisible="False" /> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
</Grid.Resources> | |
<Border x:Name="SearchBoxBorder" | |
Background="Transparent" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<Grid> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition /> | |
<ColumnDefinition Width="Auto" /> | |
</Grid.ColumnDefinitions> | |
<TextBox x:Name="SearchTextBox" | |
BorderThickness="0" | |
Background="Transparent" | |
FontFamily="{TemplateBinding FontFamily}" | |
FontSize="{TemplateBinding FontSize}" | |
FontWeight="{TemplateBinding FontWeight}" | |
Foreground="{TemplateBinding Foreground}" | |
InputScope="Search" | |
MaxLength="2048" | |
MinHeight="{ThemeResource SearchBoxTextBoxThemeMinHeight}" | |
Padding="{TemplateBinding Padding}" | |
PlaceholderText="{TemplateBinding PlaceholderText}" | |
Style="{StaticResource SearchTextBoxStyle}" | |
TextWrapping="NoWrap" | |
VerticalAlignment="Stretch" /> | |
<Button x:Name="SearchButton" | |
AutomationProperties.AccessibilityView="Raw" | |
Background="Transparent" | |
FontWeight="{ThemeResource SearchBoxButtonThemeFontWeight}" | |
Grid.Column="1" | |
Style="{StaticResource SearchButtonStyle}" /> | |
</Grid> | |
</Border> | |
<Popup x:Name="SearchSuggestionsPopup" | |
HorizontalAlignment="Left" | |
VerticalAlignment="Bottom"> | |
<Border x:Name="SearchSuggestionsPopupBorder" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
MinWidth="{ThemeResource SearchBoxSuggestionPopupThemeMinWidth}"> | |
<Border.Resources> | |
<Style x:Key="SearchSuggestionListViewItemStyle" TargetType="ListViewItem"> | |
<Setter Property="Background" Value="Transparent" /> | |
<Setter Property="TabNavigation" Value="Local" /> | |
<Setter Property="HorizontalContentAlignment" Value="Stretch" /> | |
<Setter Property="Margin" Value="0"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ListViewItem"> | |
<Border x:Name="OuterContainer"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="PointerOverBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<PointerDownThemeAnimation TargetName="ContentContainer" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="PointerOverPressed"> | |
<Storyboard> | |
<PointerDownThemeAnimation TargetName="ContentContainer" /> | |
<DoubleAnimation Storyboard.TargetName="PointerOverBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="ListViewItemContentPresenter" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource ListViewItemDisabledThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisual" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused"/> | |
<VisualState x:Name="PointerFocused"/> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="SelectionStates"> | |
<VisualState x:Name="Unselecting" /> | |
<VisualState x:Name="Unselected" /> | |
<VisualState x:Name="UnselectedPointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ListViewItemContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxButtonForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="UnselectedSwiping" /> | |
<VisualState x:Name="Selecting" /> | |
<VisualState x:Name="Selected"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ListViewItemContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxButtonForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="SelectedSwiping" /> | |
<VisualState x:Name="SelectedUnfocused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ListViewItemContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SearchBoxButtonForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid x:Name="ContentContainer"> | |
<Rectangle x:Name="PointerOverBorder" | |
IsHitTestVisible="False" | |
Opacity="0" | |
Fill="{ThemeResource SearchBoxButtonBackgroundThemeBrush}" /> | |
<Rectangle x:Name="FocusVisual" | |
IsHitTestVisible="False" | |
Opacity="0" | |
StrokeThickness="2" | |
Stroke="{ThemeResource ListViewItemFocusBorderThemeBrush}" /> | |
<Rectangle x:Name="SelectionBackground" | |
Fill="{ThemeResource SearchBoxButtonBackgroundThemeBrush}" | |
Opacity="0" /> | |
<ContentPresenter x:Name="ListViewItemContentPresenter" | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
Content="{TemplateBinding Content}" | |
FontFamily="{Binding ElementName=SearchTextBox, Path=FontFamily}" | |
FontSize="{Binding ElementName=SearchTextBox, Path=FontSize}" | |
FontWeight="{Binding ElementName=SearchTextBox, Path=FontWeight}" | |
Foreground="{TemplateBinding Foreground}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> | |
</Grid> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
</Border.Resources> | |
<Grid MaxHeight="{ThemeResource SearchBoxSuggestionPopupThemeMaxHeight}"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition /> | |
</Grid.RowDefinitions> | |
<Border x:Name="IMECandidateListContainer" /> | |
<Border x:Name="IMECandidateListSeparator" Grid.Row="1" Visibility="Collapsed" BorderThickness="{ThemeResource SearchBoxIMECandidateListSeparatorThemeThickness}" BorderBrush="{ThemeResource SearchBoxIMECandidateListSeparatorThemeBrush}" /> | |
<ListView x:Name="SearchSuggestionsList" | |
Background="{ThemeResource TextBoxBackgroundThemeBrush}" | |
Grid.Row="2" | |
IsTabStop="False" | |
IsItemClickEnabled="true" | |
ItemContainerStyle="{StaticResource SearchSuggestionListViewItemStyle}"> | |
<ListView.Resources> | |
<DataTemplate x:Name="HitHighlightedTextBlock"> | |
<RichTextBlock x:Name="TextBlock" TextWrapping="Wrap" TextTrimming="WordEllipsis" SelectionHighlightColor="{ThemeResource SearchBoxHitHighlightForegroundThemeBrush}" AutomationProperties.AccessibilityView="Raw"> | |
<RichTextBlock.Resources> | |
<DataTemplate x:Name="SelectedHitHighlightedRun"> | |
<Run Foreground="{ThemeResource SearchBoxHitHighlightSelectedForegroundThemeBrush}" /> | |
</DataTemplate> | |
</RichTextBlock.Resources> | |
</RichTextBlock> | |
</DataTemplate> | |
</ListView.Resources> | |
<ListView.ItemContainerTransitions> | |
<TransitionCollection /> | |
</ListView.ItemContainerTransitions> | |
<ListView.ItemTemplate> | |
<DataTemplate> | |
<Grid> | |
<!-- QuerySuggestionTemplate is presented for suggestions of Kind SearchSuggestionKind_Query --> | |
<ContentControl x:Name="QuerySuggestionTemplate" | |
Margin="{ThemeResource SearchBoxQuerySuggestionThemeMargin}" | |
Typography.DiscretionaryLigatures="False" | |
VerticalAlignment="Center" | |
Visibility="Collapsed" /> | |
<!-- ResultSuggestionTemplate is presented for suggestions of Kind SearchSuggestionKind_Result --> | |
<Grid x:Name="ResultSuggestionTemplate" | |
Margin="{ThemeResource SearchBoxResultSuggestionThemeMargin}" | |
Typography.DiscretionaryLigatures="False" | |
Visibility="Collapsed" > | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition /> | |
</Grid.ColumnDefinitions> | |
<Grid.RowDefinitions> | |
<RowDefinition /> | |
<RowDefinition /> | |
</Grid.RowDefinitions> | |
<Image x:Name="ResultSuggestionImage" | |
Grid.RowSpan="2" | |
Width="{ThemeResource SearchBoxResultSuggestionImageThemeWidth}" | |
Height="{ThemeResource SearchBoxResultSuggestionImageThemeHeight}" | |
Margin="{ThemeResource SearchBoxSuggestionSubcomponentThemeMargin}"/> | |
<ContentControl x:Name="ResultSuggestionText" | |
Grid.Column="1" | |
VerticalAlignment="Center" /> | |
<ContentControl x:Name="ResultSuggestionDetailText" | |
Grid.Column="1" | |
Grid.Row="1" | |
VerticalAlignment="Center" /> | |
</Grid> | |
<!-- SeparatorSuggestionTemplate is presented for suggestions of Kind SearchSuggestionKind_Separator --> | |
<Grid x:Name="SeparatorSuggestionTemplate" | |
Margin="{ThemeResource SearchBoxSeparatorSuggestionThemeMargin}" | |
Typography.DiscretionaryLigatures="False" | |
Visibility="Collapsed"> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition /> | |
</Grid.ColumnDefinitions> | |
<TextBlock x:Name="SeparatorSuggestionText" | |
Margin="{ThemeResource SearchBoxSuggestionSubcomponentThemeMargin}" | |
TextTrimming="WordEllipsis" | |
VerticalAlignment="Center" /> | |
<Border Grid.Column="1" | |
BorderBrush="{ThemeResource SearchBoxSeparatorSuggestionForegroundThemeBrush}" | |
BorderThickness="0,1,0,0" | |
VerticalAlignment="Center"/> | |
</Grid> | |
</Grid> | |
</DataTemplate> | |
</ListView.ItemTemplate> | |
</ListView> | |
</Grid> | |
</Border> | |
</Popup> | |
</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="1" /> | |
<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"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPointerOver"/> | |
<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Background" /> | |
</Storyboard> | |
</VisualState> | |
<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> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Unfocused"/> | |
<VisualState x:Name="Focused"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border x:Name="Background" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"/> | |
<Border x:Name="BackgroundPointerOver" | |
Background="{ThemeResource ThumbPointerOverBackgroundThemeBrush}" | |
BorderBrush="{ThemeResource ThumbPointerOverBorderThemeBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Opacity="0"/> | |
<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="17" /> | |
<Setter Property="MinHeight" Value="17" /> | |
<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"> | |
<Grid.Resources> | |
<ControlTemplate x:Key="RepeatButtonTemplate" TargetType="RepeatButton"> | |
<Grid x:Name="Root" Background="Transparent"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
</Grid> | |
</ControlTemplate> | |
<ControlTemplate x:Key="HorizontalIncrementTemplate" TargetType="RepeatButton"> | |
<Grid x:Name="Root"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPointerOver" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ArrowPointerOver" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ScrollBarButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPressed" /> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ArrowPressed" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Rectangle x:Name="BackgroundPointerOver" Fill="{ThemeResource ScrollBarButtonPointerOverBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarButtonPointerOverBorderThemeBrush}" StrokeThickness="1" Opacity="0"/> | |
<Path x:Name="ArrowPointerOver" Data="M4.1183305,0 L9.6730003,5.4663525 L4.1183305,10.944 L0,10.881266 L5.5553346,5.4719901 L0,0.062734604 z" Fill="{ThemeResource ScrollBarButtonForegroundThemeBrush}" StrokeThickness="0" Height="10.944" Width="9.673" Stretch="Fill" Margin="7,0,0,0" HorizontalAlignment="Left" UseLayoutRounding="False" VerticalAlignment="Center"/> | |
<Rectangle x:Name="BackgroundPressed" Fill="{ThemeResource ScrollBarButtonPressedBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarButtonPressedBorderThemeBrush}" StrokeThickness="1" Opacity="0"/> | |
<Path x:Name="ArrowPressed" Data="M4.1183305,0 L9.6730003,5.4663525 L4.1183305,10.944 L0,10.881266 L5.5553346,5.4719901 L0,0.062734604 z" Fill="{ThemeResource ScrollBarButtonPressedForegroundThemeBrush}" StrokeThickness="0" Height="10.944" Width="9.673" Stretch="Fill" Margin="7,0,0,0" HorizontalAlignment="Left" UseLayoutRounding="False" VerticalAlignment="Center" Opacity="0"/> | |
</Grid> | |
</ControlTemplate> | |
<ControlTemplate x:Key="HorizontalDecrementTemplate" TargetType="RepeatButton"> | |
<Grid x:Name="Root"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Duration="0:0:0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPointerOver"/> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ArrowPointerOver" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ScrollBarButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<DoubleAnimation Duration="0:0:0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPressed"/> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ArrowPressed"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Rectangle x:Name="BackgroundPointerOver" Fill="{ThemeResource ScrollBarButtonPointerOverBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarButtonPointerOverBorderThemeBrush}" StrokeThickness="1" Opacity="0"/> | |
<Path x:Name="ArrowPointerOver" Data="M5.5546699,0 L9.6730003,0.062734604 L4.1176658,5.4720101 L9.6730003,10.881266 L5.5546699,10.944 L0,5.4776478 z" Fill="{ThemeResource ScrollBarButtonForegroundThemeBrush}" StrokeThickness="0" Height="10.944" Width="9.673" Stretch="Fill" Margin="0,0,7,0" HorizontalAlignment="Right" UseLayoutRounding="False" VerticalAlignment="Center"/> | |
<Rectangle x:Name="BackgroundPressed" Fill="{ThemeResource ScrollBarButtonPressedBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarButtonPressedBorderThemeBrush}" StrokeThickness="1" Opacity="0"/> | |
<Path x:Name="ArrowPressed" Data="M5.5546699,0 L9.6730003,0.062734604 L4.1176658,5.4720101 L9.6730003,10.881266 L5.5546699,10.944 L0,5.4776478 z" Fill="{ThemeResource ScrollBarButtonPressedForegroundThemeBrush}" StrokeThickness="0" Height="10.944" Width="9.673" Stretch="Fill" Margin="0,0,7,0" HorizontalAlignment="Right" UseLayoutRounding="False" VerticalAlignment="Center" Opacity="0"/> | |
</Grid> | |
</ControlTemplate> | |
<ControlTemplate x:Key="VerticalIncrementTemplate" TargetType="RepeatButton"> | |
<Grid x:Name="Root"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Duration="0:0:0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPointerOver"/> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ArrowPointerOver" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ScrollBarButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<DoubleAnimation Duration="0:0:0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPressed"/> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ArrowPressed"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Rectangle x:Name="BackgroundPointerOver" Fill="{ThemeResource ScrollBarButtonPointerOverBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarButtonPointerOverBorderThemeBrush}" StrokeThickness="1" Opacity="0"/> | |
<Path x:Name="ArrowPointerOver" Data="M0.062734604,0 L5.4720101,5.5553346 L10.881266,0 L10.944,4.1183305 L5.4776478,9.6730003 L0,4.1183305 z" Fill="{ThemeResource ScrollBarButtonForegroundThemeBrush}" StrokeThickness="0" Height="9.673" Width="10.944" Stretch="Fill" UseLayoutRounding="False" VerticalAlignment="Top" Margin="0,7,0,0" HorizontalAlignment="Center"/> | |
<Rectangle x:Name="BackgroundPressed" Fill="{ThemeResource ScrollBarButtonPressedBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarButtonPressedBorderThemeBrush}" StrokeThickness="1" Opacity="0"/> | |
<Path x:Name="ArrowPressed" Data="M0.062734604,0 L5.4720101,5.5553346 L10.881266,0 L10.944,4.1183305 L5.4776478,9.6730003 L0,4.1183305 z" Fill="{ThemeResource ScrollBarButtonPressedForegroundThemeBrush}" StrokeThickness="0" Height="9.673" Width="10.944" Stretch="Fill" UseLayoutRounding="False" VerticalAlignment="Top" Margin="0,7,0,0" Opacity="0" HorizontalAlignment="Center"/> | |
</Grid> | |
</ControlTemplate> | |
<ControlTemplate x:Key="VerticalDecrementTemplate" TargetType="RepeatButton"> | |
<Grid x:Name="Root"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Duration="0:0:0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPointerOver"/> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ArrowPointerOver" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ScrollBarButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<DoubleAnimation Duration="0:0:0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPressed"/> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ArrowPressed"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Rectangle x:Name="BackgroundPointerOver" Fill="{ThemeResource ScrollBarButtonPointerOverBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarButtonPointerOverBorderThemeBrush}" StrokeThickness="1" Opacity="0"/> | |
<Path x:Name="ArrowPointerOver" Data="M5.6343679,0 L11.113339,5.5538998 L11.05059,9.6716595 L5.640007,4.117095 L0.22944409,9.6716595 L0.1666943,5.5538998 z" Fill="{ThemeResource ScrollBarButtonForegroundThemeBrush}" StrokeThickness="0" Height="9.673" Width="10.944" Stretch="Fill" UseLayoutRounding="False" Margin="0,0,0,7" VerticalAlignment="Bottom" HorizontalAlignment="Center"/> | |
<Rectangle x:Name="BackgroundPressed" Fill="{ThemeResource ScrollBarButtonPressedBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarButtonPressedBorderThemeBrush}" StrokeThickness="1" Opacity="0"/> | |
<Path x:Name="ArrowPressed" Data="M5.6343679,0 L11.113339,5.5538998 L11.05059,9.6716595 L5.640007,4.117095 L0.22944409,9.6716595 L0.1666943,5.5538998 z" Fill="{ThemeResource ScrollBarButtonPressedForegroundThemeBrush}" StrokeThickness="0" Height="9.673" Width="10.944" Stretch="Fill" UseLayoutRounding="False" Margin="0,0,0,7" VerticalAlignment="Bottom" HorizontalAlignment="Center" Opacity="0"/> | |
</Grid> | |
</ControlTemplate> | |
<ControlTemplate x:Key="VerticalThumbTemplate" TargetType="Thumb"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPointerOver"/> | |
<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Background" /> | |
</Storyboard> | |
</VisualState> | |
<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"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ThumbVisual"/> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Unfocused"/> | |
<VisualState x:Name="Focused"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid x:Name="ThumbVisual" Margin="0"> | |
<Border x:Name="Background" Background="{ThemeResource ScrollBarThumbBackgroundThemeBrush}" BorderBrush="{ThemeResource ScrollBarThumbBorderThemeBrush}" BorderThickness="1"/> | |
<Border x:Name="BackgroundPointerOver" Background="{ThemeResource ScrollBarThumbPointerOverBackgroundThemeBrush}" BorderBrush="{ThemeResource ScrollBarThumbPointerOverBorderThemeBrush}" BorderThickness="1" Opacity="0"/> | |
<Border x:Name="BackgroundPressed" Background="{ThemeResource ScrollBarThumbPressedBackgroundThemeBrush}" BorderBrush="{ThemeResource ScrollBarThumbPressedBorderThemeBrush}" BorderThickness="1" Opacity="0"/> | |
</Grid> | |
</Grid> | |
</ControlTemplate> | |
<ControlTemplate x:Key="HorizontalThumbTemplate" TargetType="Thumb"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Duration="0:0:0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPointerOver"/> | |
<DoubleAnimation Duration="0:0:0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Background"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<DoubleAnimation Duration="0:0:0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundPressed"/> | |
<DoubleAnimation Duration="0:0:0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Background"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<DoubleAnimation Duration="0:0:0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ThumbVisual"/> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid x:Name="ThumbVisual" Margin="0"> | |
<Border x:Name="Background" Background="{ThemeResource ScrollBarThumbBackgroundThemeBrush}" BorderBrush="{ThemeResource ScrollBarThumbBorderThemeBrush}" BorderThickness="1"/> | |
<Border x:Name="BackgroundPointerOver" Background="{ThemeResource ScrollBarThumbPointerOverBackgroundThemeBrush}" BorderBrush="{ThemeResource ScrollBarThumbPointerOverBorderThemeBrush}" BorderThickness="1" Opacity="0"/> | |
<Border x:Name="BackgroundPressed" Background="{ThemeResource ScrollBarThumbPressedBackgroundThemeBrush}" BorderBrush="{ThemeResource ScrollBarThumbPressedBorderThemeBrush}" BorderThickness="1" Opacity="0"/> | |
</Grid> | |
</Grid> | |
</ControlTemplate> | |
</Grid.Resources> | |
<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 TargetName="HorizontalPanningRoot" /> | |
<FadeInThemeAnimation TargetName="VerticalPanningRoot" /> | |
<FadeOutThemeAnimation TargetName="HorizontalRoot" /> | |
<FadeOutThemeAnimation TargetName="VerticalRoot" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalRoot" Storyboard.TargetProperty="Visibility" Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Collapsed</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalRoot" Storyboard.TargetProperty="Visibility" Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Collapsed</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="MouseIndicator"> | |
<Storyboard> | |
<FadeInThemeAnimation TargetName="HorizontalRoot" /> | |
<FadeInThemeAnimation TargetName="VerticalRoot" /> | |
<FadeOutThemeAnimation TargetName="HorizontalPanningRoot" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalPanningRoot" Storyboard.TargetProperty="Visibility" Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Collapsed</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<FadeOutThemeAnimation TargetName="VerticalPanningRoot"/> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalPanningRoot" Storyboard.TargetProperty="Visibility" Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Collapsed</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="HorizontalRoot"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>True</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="VerticalRoot"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>True</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="NoIndicator"> | |
<Storyboard> | |
<FadeOutThemeAnimation BeginTime="0" TargetName="HorizontalPanningRoot" /> | |
<FadeOutThemeAnimation BeginTime="0" TargetName="VerticalPanningRoot" /> | |
<FadeOutThemeAnimation BeginTime="0" TargetName="HorizontalRoot" /> | |
<FadeOutThemeAnimation BeginTime="0" TargetName="VerticalRoot" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid x:Name="HorizontalRoot" IsHitTestVisible="False"> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition Width="*" /> | |
<ColumnDefinition Width="Auto" /> | |
</Grid.ColumnDefinitions> | |
<Rectangle Grid.ColumnSpan="5" Margin="0" StrokeThickness="{ThemeResource ScrollBarTrackBorderThemeThickness}" Fill="{ThemeResource ScrollBarTrackBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarTrackBorderThemeBrush}" /> | |
<RepeatButton x:Name="HorizontalSmallDecrease" Grid.Column="0" MinHeight="17" IsTabStop="False" Interval="50" Margin="0" Template="{StaticResource HorizontalDecrementTemplate}" Width="33" VerticalAlignment="Center"/> | |
<RepeatButton x:Name="HorizontalLargeDecrease" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsTabStop="False" Interval="50" Template="{StaticResource RepeatButtonTemplate}" Width="0"/> | |
<Thumb x:Name="HorizontalThumb" Grid.Column="2" Background="{TemplateBinding Background}" Template="{StaticResource HorizontalThumbTemplate}" Height="17" MinWidth="48" AutomationProperties.AccessibilityView="Raw"/> | |
<RepeatButton x:Name="HorizontalLargeIncrease" Grid.Column="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsTabStop="False" Interval="50" Template="{StaticResource RepeatButtonTemplate}"/> | |
<RepeatButton x:Name="HorizontalSmallIncrease" Grid.Column="4" MinHeight="17" IsTabStop="False" Interval="50" Margin="0" Template="{StaticResource HorizontalIncrementTemplate}" Width="33" VerticalAlignment="Center"/> | |
</Grid> | |
<Grid x:Name="HorizontalPanningRoot" HorizontalAlignment="Left" MinWidth="66"> | |
<Border x:Name="HorizontalPanningThumb" Background="{ThemeResource ScrollBarPanningBackgroundThemeBrush}" BorderBrush="{ThemeResource ScrollBarPanningBorderThemeBrush}" BorderThickness="{ThemeResource ScrollBarPanningBorderThemeThickness}" Height="4" MinWidth="17"/> | |
</Grid> | |
<Grid x:Name="VerticalRoot" IsHitTestVisible="False"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="*" /> | |
<RowDefinition Height="Auto" /> | |
</Grid.RowDefinitions> | |
<Rectangle Margin="0" StrokeThickness="{ThemeResource ScrollBarTrackBorderThemeThickness}" Grid.RowSpan="5" Fill="{ThemeResource ScrollBarTrackBackgroundThemeBrush}" Stroke="{ThemeResource ScrollBarTrackBorderThemeBrush}" /> | |
<RepeatButton x:Name="VerticalSmallDecrease" Height="33" MinWidth="17" IsTabStop="False" Interval="50" Margin="0" Grid.Row="0" Template="{StaticResource VerticalDecrementTemplate}" HorizontalAlignment="Center"/> | |
<RepeatButton x:Name="VerticalLargeDecrease" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="0" IsTabStop="False" Interval="50" Grid.Row="1" Template="{StaticResource RepeatButtonTemplate}"/> | |
<Thumb x:Name="VerticalThumb" Grid.Row="2" Background="{TemplateBinding Background}" Template="{StaticResource VerticalThumbTemplate}" Width="17" MinHeight="48" AutomationProperties.AccessibilityView="Raw"/> | |
<RepeatButton x:Name="VerticalLargeIncrease" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsTabStop="False" Interval="50" Grid.Row="3" Template="{StaticResource RepeatButtonTemplate}"/> | |
<RepeatButton x:Name="VerticalSmallIncrease" Height="33" MinWidth="17" IsTabStop="False" Interval="50" Margin="0" Grid.Row="4" Template="{StaticResource VerticalIncrementTemplate}" HorizontalAlignment="Center"/> | |
</Grid> | |
<Grid x:Name="VerticalPanningRoot" VerticalAlignment="Top" MinHeight="66"> | |
<Border x:Name="VerticalPanningThumb" Background="{ThemeResource ScrollBarPanningBackgroundThemeBrush}" BorderBrush="{ThemeResource ScrollBarPanningBorderThemeBrush}" BorderThickness="{ThemeResource ScrollBarPanningBorderThemeThickness}" Width="4" MinHeight="17"/> | |
</Grid> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.ScrollViewer --> | |
<Style TargetType="ScrollViewer"> | |
<Setter Property="HorizontalScrollMode" Value="Enabled" /> | |
<Setter Property="VerticalScrollMode" Value="Enabled" /> | |
<Setter Property="IsHorizontalRailEnabled" Value="True" /> | |
<Setter Property="IsVerticalRailEnabled" Value="True" /> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="ZoomMode" Value="Enabled" /> | |
<Setter Property="HorizontalContentAlignment" Value="Left"/> | |
<Setter Property="VerticalContentAlignment" Value="Top"/> | |
<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="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ScrollViewer"> | |
<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="ScrollingIndicatorStates"> | |
<VisualStateGroup.Transitions> | |
<VisualTransition From="MouseIndicator" To="NoIndicator"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="ScrollBarSeparator" BeginTime="0:0:3" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalScrollBar" | |
Storyboard.TargetProperty="IndicatorMode"> | |
<DiscreteObjectKeyFrame KeyTime="0:0:3"> | |
<DiscreteObjectKeyFrame.Value> | |
<ScrollingIndicatorMode>None</ScrollingIndicatorMode> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalScrollBar" | |
Storyboard.TargetProperty="IndicatorMode"> | |
<DiscreteObjectKeyFrame KeyTime="0:0:3"> | |
<DiscreteObjectKeyFrame.Value> | |
<ScrollingIndicatorMode>None</ScrollingIndicatorMode> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualTransition> | |
<VisualTransition From="TouchIndicator" To="NoIndicator"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="ScrollBarSeparator" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalScrollBar" | |
Storyboard.TargetProperty="IndicatorMode"> | |
<DiscreteObjectKeyFrame KeyTime="0:0:0.5"> | |
<DiscreteObjectKeyFrame.Value> | |
<ScrollingIndicatorMode>None</ScrollingIndicatorMode> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalScrollBar" | |
Storyboard.TargetProperty="IndicatorMode"> | |
<DiscreteObjectKeyFrame KeyTime="0:0:0.5"> | |
<DiscreteObjectKeyFrame.Value> | |
<ScrollingIndicatorMode>None</ScrollingIndicatorMode> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualTransition> | |
</VisualStateGroup.Transitions> | |
<VisualState x:Name="NoIndicator"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="ScrollBarSeparator" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="TouchIndicator"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="ScrollBarSeparator" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalScrollBar" | |
Storyboard.TargetProperty="IndicatorMode" | |
Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<ScrollingIndicatorMode>TouchIndicator</ScrollingIndicatorMode> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalScrollBar" | |
Storyboard.TargetProperty="IndicatorMode" | |
Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<ScrollingIndicatorMode>TouchIndicator</ScrollingIndicatorMode> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="MouseIndicator"> | |
<Storyboard> | |
<FadeInThemeAnimation TargetName="ScrollBarSeparator" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalScrollBar" | |
Storyboard.TargetProperty="IndicatorMode" | |
Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<ScrollingIndicatorMode>MouseIndicator</ScrollingIndicatorMode> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalScrollBar" | |
Storyboard.TargetProperty="IndicatorMode" | |
Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<ScrollingIndicatorMode>MouseIndicator</ScrollingIndicatorMode> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</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}" /> | |
<Border x:Name="ScrollBarSeparator" | |
Grid.Row="1" | |
Grid.Column="1" | |
BorderThickness="0,0,1,1" | |
Background="{ThemeResource ScrollBarTrackBackgroundThemeBrush}" | |
BorderBrush="{ThemeResource ScrollBarTrackBorderThemeBrush}" /> | |
</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="TabNavigation" Value="Local" /> | |
<Setter Property="Padding" Value="8,10" /> | |
<Setter Property="HorizontalContentAlignment" Value="Left" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ComboBoxItem"> | |
<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"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="PressedBackground" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</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 ComboBoxItemSelectedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="SelectedUnfocused"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerGrid" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemSelectedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="SelectedDisabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerGrid" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemSelectedDisabledBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemSelectedDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="SelectedPointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerGrid" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="SelectedPressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerGrid" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemSelectedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxItemPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid x:Name="InnerGrid" | |
Background="Transparent"> | |
<Rectangle x:Name="PressedBackground" | |
Fill="{ThemeResource ComboBoxItemPressedBackgroundThemeBrush}" | |
Opacity="0" /> | |
<ContentPresenter x:Name="ContentPresenter" | |
Content="{TemplateBinding Content}" | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" | |
Margin="{TemplateBinding Padding}" /> | |
<Rectangle x:Name="FocusVisualWhite" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset=".5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
</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="8,10" /> | |
<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"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxItemPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<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> | |
<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> | |
<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> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</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}" /> | |
<Rectangle x:Name="FocusVisualWhite" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset=".5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
</Grid> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.DatePicker --> | |
<Style TargetType="DatePicker"> | |
<Setter Property="Orientation" Value="Horizontal"/> | |
<Setter Property="IsTabStop" Value="False"/> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="Foreground" Value="{ThemeResource DatePickerForegroundThemeBrush}"/> | |
<Setter Property="HorizontalAlignment" Value="Left"/> | |
<Setter Property="VerticalAlignment" Value="Center"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="DatePicker"> | |
<Border x:Name="LayoutRoot" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<Grid Margin="{TemplateBinding Padding}"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
</Grid.RowDefinitions> | |
<ContentPresenter x:Name="HeaderContentPresenter" | |
Foreground="{ThemeResource DatePickerHeaderForegroundThemeBrush}" | |
Margin="{ThemeResource DatePickerHeaderThemeMargin}" | |
FlowDirection="{TemplateBinding FlowDirection}" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
FontWeight="{ThemeResource DatePickerHeaderThemeFontWeight}" /> | |
<StackPanel Grid.Row="1" Orientation="{TemplateBinding Orientation}"> | |
<Border x:Name="FirstPickerHost"> | |
<ComboBox x:Name="DayPicker" | |
MinWidth="{ThemeResource DatePickerSelectorThemeMinWidth}" | |
FontWeight="{TemplateBinding FontWeight}" | |
FontSize="{TemplateBinding FontSize}" | |
FontFamily="{TemplateBinding FontFamily}" | |
Foreground="{TemplateBinding Foreground}"/> | |
</Border> | |
<Rectangle x:Name="FirstPickerSpacing" | |
Width="{ThemeResource DatePickerSpacingThemeWidth}" | |
Height="{ThemeResource DatePickerSpacingThemeHeight}"/> | |
<Border x:Name="SecondPickerHost"> | |
<ComboBox x:Name="MonthPicker" | |
MinWidth="{ThemeResource DatePickerSelectorThemeMinWidth}" | |
FontWeight="{TemplateBinding FontWeight}" | |
FontSize="{TemplateBinding FontSize}" | |
FontFamily="{TemplateBinding FontFamily}" | |
Foreground="{TemplateBinding Foreground}"/> | |
</Border> | |
<Rectangle x:Name="SecondPickerSpacing" | |
Width="{ThemeResource DatePickerSpacingThemeWidth}" | |
Height="{ThemeResource DatePickerSpacingThemeHeight}"/> | |
<Border x:Name="ThirdPickerHost"> | |
<ComboBox x:Name="YearPicker" | |
MinWidth="{ThemeResource DatePickerSelectorThemeMinWidth}" | |
FontWeight="{TemplateBinding FontWeight}" | |
FontSize="{TemplateBinding FontSize}" | |
FontFamily="{TemplateBinding FontFamily}" | |
Foreground="{TemplateBinding Foreground}"/> | |
</Border> | |
</StackPanel> | |
</Grid> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.ComboBox --> | |
<Style TargetType="ComboBox"> | |
<Setter Property="Padding" Value="8,0" /> | |
<Setter Property="MinWidth" Value="{ThemeResource ComboBoxThemeMinWidth}" /> | |
<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="TabNavigation" Value="Once" /> | |
<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.IsVerticalRailEnabled" Value="True" /> | |
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" /> | |
<Setter Property="ScrollViewer.BringIntoViewOnFocusChange" Value="True" /> | |
<Setter Property="HorizontalContentAlignment" Value="Stretch" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="ItemsPanel"> | |
<Setter.Value> | |
<ItemsPanelTemplate> | |
<CarouselPanel /> | |
</ItemsPanelTemplate> | |
</Setter.Value> | |
</Setter> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ComboBox"> | |
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="*" /> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="*" /> | |
<ColumnDefinition Width="32" /> | |
</Grid.ColumnDefinitions> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Highlight" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<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="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<DoubleAnimation Storyboard.TargetName="PressedBackground" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DropDownGlyph" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxArrowPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<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="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DropDownGlyph" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxArrowDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="HighlightBackground" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="Highlight" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxFocusedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="FocusedPressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Highlight" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ComboBoxPressedHighlightThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
<VisualState x:Name="FocusedDropDown"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PopupBorder" | |
Storyboard.TargetProperty="Visibility" | |
Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Visible</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="DropDownStates"> | |
<VisualState x:Name="Opened"> | |
<Storyboard> | |
<SplitOpenThemeAnimation | |
OpenedTargetName="PopupBorder" | |
ContentTargetName="ScrollViewer" | |
ClosedTargetName="ContentPresenter" | |
ContentTranslationOffset="0" | |
OffsetFromCenter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownOffset}" | |
OpenedLength="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownOpenedHeight}" | |
ClosedLength="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownClosedHeight}" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Closed"> | |
<Storyboard> | |
<SplitCloseThemeAnimation | |
OpenedTargetName="PopupBorder" | |
ContentTargetName="ScrollViewer" | |
ClosedTargetName="ContentPresenter" | |
ContentTranslationOffset="40" | |
OffsetFromCenter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownOffset}" | |
ContentTranslationDirection="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.SelectedItemDirection}" | |
OpenedLength="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownOpenedHeight}" | |
ClosedLength="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DropDownClosedHeight}" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<ContentPresenter x:Name="HeaderContentPresenter" | |
Foreground="{ThemeResource ComboBoxHeaderForegroundThemeBrush}" | |
Margin="{ThemeResource ComboBoxHeaderThemeMargin}" | |
FlowDirection="{TemplateBinding FlowDirection}" | |
FontWeight="{ThemeResource ComboBoxHeaderThemeFontWeight}" | |
Visibility="Collapsed" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" /> | |
<Border x:Name="Background" | |
Grid.Row="1" | |
Grid.ColumnSpan="2" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" /> | |
<Rectangle x:Name="PressedBackground" | |
Grid.Row="1" | |
Fill="{ThemeResource ComboBoxPressedHighlightThemeBrush}" | |
Margin="{TemplateBinding BorderThickness}" | |
Opacity="0" /> | |
<Border x:Name="HighlightBackground" | |
Grid.Row="1" | |
Grid.ColumnSpan="2" | |
Background="{ThemeResource ComboBoxFocusedBackgroundThemeBrush}" | |
BorderBrush="{ThemeResource ComboBoxFocusedBorderThemeBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Opacity="0" /> | |
<Rectangle x:Name="Highlight" | |
Grid.Row="1" | |
Fill="{ThemeResource ComboBoxSelectedBackgroundThemeBrush}" | |
Margin="{TemplateBinding BorderThickness}" | |
Opacity="0" /> | |
<ContentPresenter x:Name="ContentPresenter" | |
Grid.Row="1" | |
Margin="{TemplateBinding Padding}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"> | |
<TextBlock x:Name="PlaceholderTextBlock" | |
Text="{TemplateBinding PlaceholderText}" | |
Foreground="{ThemeResource ComboBoxPlaceholderTextForegroundThemeBrush}" | |
FontWeight="{ThemeResource ComboBoxPlaceholderTextThemeFontWeight}"/> | |
</ContentPresenter> | |
<TextBlock x:Name="DropDownGlyph" | |
Text="" | |
Grid.Row="1" | |
Grid.Column="1" | |
IsHitTestVisible="False" | |
Margin="0,0,6,4" | |
Foreground="{ThemeResource ComboBoxArrowForegroundThemeBrush}" | |
FontWeight="Bold" | |
FontSize="{ThemeResource ComboBoxArrowThemeFontSize}" | |
FontFamily="{ThemeResource SymbolThemeFontFamily}" | |
HorizontalAlignment="Right" | |
VerticalAlignment="Center" | |
AutomationProperties.AccessibilityView="Raw"/> | |
<Popup x:Name="Popup"> | |
<Border x:Name="PopupBorder" | |
Background="{ThemeResource ComboBoxPopupBackgroundThemeBrush}" | |
BorderBrush="{ThemeResource ComboBoxPopupBorderThemeBrush}" | |
BorderThickness="{ThemeResource ComboBoxPopupBorderThemeThickness}" | |
HorizontalAlignment="Stretch"> | |
<ScrollViewer x:Name="ScrollViewer" Foreground="{ThemeResource ComboBoxPopupForegroundThemeBrush}" | |
MinWidth="{ThemeResource ComboBoxPopupThemeMinWidth}" | |
VerticalSnapPointsType="OptionalSingle" | |
VerticalSnapPointsAlignment="Near" | |
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}" | |
BringIntoViewOnFocusChange="{TemplateBinding ScrollViewer.BringIntoViewOnFocusChange}" | |
ZoomMode="Disabled" | |
AutomationProperties.AccessibilityView="Raw"> | |
<ItemsPresenter/> | |
</ScrollViewer> | |
</Border> | |
</Popup> | |
</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.IsHorizontalRailEnabled" Value="True" /> | |
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Enabled" /> | |
<Setter Property="ScrollViewer.IsVerticalRailEnabled" Value="True" /> | |
<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> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListBoxFocusBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused"/> | |
</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="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/> | |
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/> | |
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Disabled" /> | |
<Setter Property="ScrollViewer.IsHorizontalRailEnabled" Value="False" /> | |
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Enabled" /> | |
<Setter Property="ScrollViewer.IsVerticalRailEnabled" Value="False" /> | |
<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 /> | |
<ContentThemeTransition /> | |
<ReorderThemeTransition /> | |
<EntranceThemeTransition IsStaggeringEnabled="False" /> | |
</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}"/> | |
</ScrollViewer> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.GridView --> | |
<Style TargetType="GridView"> | |
<Setter Property="Padding" Value="0,0,0,10" /> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="TabNavigation" Value="Once" /> | |
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/> | |
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Disabled"/> | |
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Enabled" /> | |
<Setter Property="ScrollViewer.IsHorizontalRailEnabled" Value="False" /> | |
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Disabled" /> | |
<Setter Property="ScrollViewer.IsVerticalRailEnabled" Value="False" /> | |
<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 /> | |
<ContentThemeTransition /> | |
<ReorderThemeTransition /> | |
<EntranceThemeTransition IsStaggeringEnabled="False" /> | |
</TransitionCollection> | |
</Setter.Value> | |
</Setter> | |
<Setter Property="ItemsPanel"> | |
<Setter.Value> | |
<ItemsPanelTemplate> | |
<ItemsWrapGrid Orientation="Vertical" /> | |
</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}"/> | |
</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="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="GridViewHeaderItem"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border Margin="4" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<ContentPresenter Content="{TemplateBinding Content}" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
Margin="{TemplateBinding Padding}" | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> | |
</Border> | |
<Rectangle x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" /> | |
</Grid> | |
</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"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border Margin="4" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<ContentPresenter Content="{TemplateBinding Content}" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
Margin="{TemplateBinding Padding}" | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> | |
</Border> | |
<Rectangle x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" /> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Style for Windows.UI.Xaml.Controls.ListViewItem --> | |
<Style TargetType="ListViewItem" x:Key="ListViewItemExpanded"> | |
<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="True"/> | |
<Setter Property="Margin" Value="0,0,18,2"/> | |
<Setter Property="HorizontalContentAlignment" Value="Left"/> | |
<Setter Property="VerticalContentAlignment" Value="Top"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ListViewItem"> | |
<Border x:Name="OuterContainer"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="PointerOverBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedBorder" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedEarmark" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<PointerDownThemeAnimation TargetName="ContentContainer" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="PointerOverPressed"> | |
<Storyboard> | |
<PointerDownThemeAnimation TargetName="ContentContainer" /> | |
<DoubleAnimation Storyboard.TargetName="PointerOverBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedBorder" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedEarmark" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="contentPresenter" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource ListViewItemDisabledThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisual" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused"/> | |
<VisualState x:Name="PointerFocused"/> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="SelectionHintStates"> | |
<VisualState x:Name="VerticalSelectionHint"> | |
<Storyboard> | |
<SwipeHintThemeAnimation TargetName="SelectionBackground" ToVerticalOffset="15" ToHorizontalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="ContentBorder" ToVerticalOffset="15" ToHorizontalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="SelectedBorder" ToVerticalOffset="15" ToHorizontalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="SelectedCheckMark" ToVerticalOffset="15" ToHorizontalOffset="0" /> | |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="HintGlyph" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0:0:0.500"> | |
<DiscreteDoubleKeyFrame Value="0.5" KeyTime="0:0:0" /> | |
<DiscreteDoubleKeyFrame Value="0" KeyTime="0:0:0.500" /> | |
</DoubleAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="HorizontalSelectionHint"> | |
<Storyboard> | |
<SwipeHintThemeAnimation TargetName="SelectionBackground" ToHorizontalOffset="-23" ToVerticalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="ContentBorder" ToHorizontalOffset="-23" ToVerticalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="SelectedBorder" ToHorizontalOffset="-23" ToVerticalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="SelectedCheckMark" ToHorizontalOffset="-23" ToVerticalOffset="0" /> | |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="HintGlyph" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0:0:0.500"> | |
<DiscreteDoubleKeyFrame Value="0.5" KeyTime="0:0:0" /> | |
<DiscreteDoubleKeyFrame Value="0" KeyTime="0:0:0.500" /> | |
</DoubleAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="NoSelectionHint" /> | |
<VisualStateGroup.Transitions> | |
<VisualTransition To="NoSelectionHint" GeneratedDuration="0:0:0.65"/> | |
</VisualStateGroup.Transitions> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="SelectionStates"> | |
<VisualState x:Name="Unselecting"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unselected"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="UnselectedPointerOver"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="UnselectedSwiping"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectingGlyph" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="0.5" /> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Selecting"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectedBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectingGlyph" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Selected"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectedBorder" | |
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"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="SelectedSwiping"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectedBorder" | |
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"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="SelectedUnfocused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectedBorder" | |
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"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="DragStates"> | |
<VisualState x:Name="NotDragging" /> | |
<VisualState x:Name="Dragging"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="InnerDragContent" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource ListViewItemDragThemeOpacity}" /> | |
<DragItemThemeAnimation TargetName="InnerDragContent" /> | |
<FadeOutThemeAnimation TargetName="SelectedCheckMarkOuter" /> | |
<FadeOutThemeAnimation TargetName="SelectedBorder" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="DraggingTarget"> | |
<Storyboard> | |
<DropTargetItemThemeAnimation TargetName="OuterContainer" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="MultipleDraggingPrimary"> | |
<Storyboard> | |
<!-- These two Opacity animations are required - the FadeInThemeAnimations | |
on the same elements animate an internal Opacity. --> | |
<DoubleAnimation Storyboard.TargetName="MultiArrangeOverlayBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="MultiArrangeOverlayText" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="ContentBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource ListViewItemDragThemeOpacity}" /> | |
<FadeInThemeAnimation TargetName="MultiArrangeOverlayBackground" /> | |
<FadeInThemeAnimation TargetName="MultiArrangeOverlayText" /> | |
<DragItemThemeAnimation TargetName="ContentBorder" /> | |
<FadeOutThemeAnimation TargetName="SelectionBackground" /> | |
<FadeOutThemeAnimation TargetName="SelectedCheckMarkOuter" /> | |
<FadeOutThemeAnimation TargetName="SelectedBorder" /> | |
<FadeOutThemeAnimation TargetName="PointerOverBorder" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="MultipleDraggingSecondary"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="ContentContainer" /> | |
</Storyboard> | |
</VisualState> | |
<VisualStateGroup.Transitions> | |
<VisualTransition To="NotDragging" GeneratedDuration="0:0:0.2"/> | |
</VisualStateGroup.Transitions> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="ReorderHintStates"> | |
<VisualState x:Name="NoReorderHint"/> | |
<VisualState x:Name="BottomReorderHint"> | |
<Storyboard> | |
<DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Bottom" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="TopReorderHint"> | |
<Storyboard> | |
<DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Top" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="RightReorderHint"> | |
<Storyboard> | |
<DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Right" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="LeftReorderHint"> | |
<Storyboard> | |
<DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Left" /> | |
</Storyboard> | |
</VisualState> | |
<VisualStateGroup.Transitions> | |
<VisualTransition To="NoReorderHint" GeneratedDuration="0:0:0.2"/> | |
</VisualStateGroup.Transitions> | |
</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"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Visible</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderRect" | |
Storyboard.TargetProperty="Visibility" | |
Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Visible</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid x:Name="ReorderHintContent" Background="Transparent"> | |
<Path x:Name="SelectingGlyph" Opacity="0" Data="F1 M133.1,17.9 L137.2,13.2 L144.6,19.6 L156.4,5.8 L161.2,9.9 L145.6,28.4 z" Fill="{ThemeResource ListViewItemCheckSelectingThemeBrush}" Height="13" Stretch="Fill" Width="15" HorizontalAlignment="Right" Margin="0,9.5,9.5,0" VerticalAlignment="Top" FlowDirection="LeftToRight"/> | |
<Border x:Name="HintGlyphBorder" | |
Height="40" | |
Width="40" | |
HorizontalAlignment="Right" | |
VerticalAlignment="Top" | |
Opacity="0" | |
Margin="4"> | |
<Path x:Name="HintGlyph" Opacity="0" Data="F1 M133.1,17.9 L137.2,13.2 L144.6,19.6 L156.4,5.8 L161.2,9.9 L145.6,28.4 z" Fill="{ThemeResource ListViewItemCheckHintThemeBrush}" Height="13" Stretch="Fill" Width="15" HorizontalAlignment="Right" Margin="0,5.5,5.5,0" VerticalAlignment="Top" FlowDirection="LeftToRight"/> | |
</Border> | |
<Border x:Name="ContentContainer"> | |
<Grid x:Name="InnerDragContent"> | |
<Rectangle x:Name="PointerOverBorder" | |
IsHitTestVisible="False" | |
Opacity="0" | |
Fill="{ThemeResource ListViewItemPointerOverBackgroundThemeBrush}" | |
Margin="1" /> | |
<Rectangle x:Name="FocusVisual" | |
IsHitTestVisible="False" | |
Opacity="0" | |
StrokeThickness="2" | |
Stroke="{ThemeResource ListViewItemFocusBorderThemeBrush}" /> | |
<Rectangle x:Name="SelectionBackground" | |
Margin="4" | |
Fill="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" | |
Opacity="0" /> | |
<Border x:Name="ContentBorder" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Margin="4"> | |
<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}"/> | |
<Rectangle x:Name="MultiArrangeOverlayBackground" | |
IsHitTestVisible="False" | |
Opacity="0" | |
Fill="{ThemeResource ListViewItemDragBackgroundThemeBrush}" /> | |
</Grid> | |
</Border> | |
<Rectangle x:Name="SelectedBorder" | |
IsHitTestVisible="False" | |
Opacity="0" | |
Stroke="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" | |
StrokeThickness="{ThemeResource ListViewItemSelectedBorderThemeThickness}" | |
Margin="4" /> | |
<Border x:Name="SelectedCheckMarkOuter" | |
IsHitTestVisible="False" | |
HorizontalAlignment="Right" | |
VerticalAlignment="Top" | |
Margin="4"> | |
<Grid x:Name="SelectedCheckMark" Opacity="0" Height="40" Width="40"> | |
<Path x:Name="SelectedEarmark" Data="M0,0 L40,0 L40,40 z" Fill="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" Stretch="Fill"/> | |
<Path Data="F1 M133.1,17.9 L137.2,13.2 L144.6,19.6 L156.4,5.8 L161.2,9.9 L145.6,28.4 z" Fill="{ThemeResource ListViewItemCheckThemeBrush}" Height="13" Stretch="Fill" Width="15" HorizontalAlignment="Right" Margin="0,5.5,5.5,0" VerticalAlignment="Top" FlowDirection="LeftToRight"/> | |
</Grid> | |
</Border> | |
<TextBlock x:Name="MultiArrangeOverlayText" | |
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DragItemsCount}" | |
Foreground="{ThemeResource ListViewItemDragForegroundThemeBrush}" | |
FontFamily="{ThemeResource ContentControlThemeFontFamily}" | |
FontSize="26.667" | |
IsHitTestVisible="False" | |
Opacity="0" | |
TextWrapping="Wrap" | |
TextTrimming="WordEllipsis" | |
Margin="18,9,0,0" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</Grid> | |
</Border> | |
</Grid> | |
</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="True"/> | |
<Setter Property="Margin" Value="0,0,18,2"/> | |
<Setter Property="HorizontalContentAlignment" Value="Left"/> | |
<Setter Property="VerticalContentAlignment" Value="Top"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ListViewItem"> | |
<ListViewItemPresenter | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
Padding="{TemplateBinding Padding}" | |
SelectionCheckMarkVisualEnabled="True" | |
CheckHintBrush="{ThemeResource ListViewItemCheckHintThemeBrush}" | |
CheckSelectingBrush="{ThemeResource ListViewItemCheckSelectingThemeBrush}" | |
CheckBrush="{ThemeResource ListViewItemCheckThemeBrush}" | |
DragBackground="{ThemeResource ListViewItemDragBackgroundThemeBrush}" | |
DragForeground="{ThemeResource ListViewItemDragForegroundThemeBrush}" | |
FocusBorderBrush="{ThemeResource ListViewItemFocusBorderThemeBrush}" | |
PlaceholderBackground="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}" | |
PointerOverBackground="{ThemeResource ListViewItemPointerOverBackgroundThemeBrush}" | |
SelectedBorderThickness="{ThemeResource ListViewItemCompactSelectedBorderThemeThickness}" | |
SelectedBackground="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" | |
SelectedForeground="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" | |
SelectedPointerOverBackground="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" | |
SelectedPointerOverBorderBrush="{ThemeResource ListViewItemSelectedPointerOverBorderThemeBrush}" | |
DisabledOpacity="{ThemeResource ListViewItemDisabledThemeOpacity}" | |
DragOpacity="{ThemeResource ListViewItemDragThemeOpacity}" | |
ReorderHintOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" | |
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" | |
PointerOverBackgroundMargin="1" | |
ContentMargin="4" /> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Style for Windows.UI.Xaml.Controls.GridViewItem --> | |
<Style TargetType="GridViewItem" x:Key="GridViewItemExpanded"> | |
<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="True"/> | |
<Setter Property="Margin" Value="0,0,2,2"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="GridViewItem"> | |
<Border x:Name="OuterContainer"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="PointerOverBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedBorder" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedEarmark" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<PointerDownThemeAnimation TargetName="ContentContainer" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="PointerOverPressed"> | |
<Storyboard> | |
<PointerDownThemeAnimation TargetName="ContentContainer" /> | |
<DoubleAnimation Storyboard.TargetName="PointerOverBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedBorder" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedEarmark" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="contentPresenter" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource ListViewItemDisabledThemeOpacity}" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisual" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused"/> | |
<VisualState x:Name="PointerFocused"/> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="SelectionHintStates"> | |
<VisualState x:Name="VerticalSelectionHint"> | |
<Storyboard> | |
<SwipeHintThemeAnimation TargetName="SelectionBackground" ToVerticalOffset="15" ToHorizontalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="ContentBorder" ToVerticalOffset="15" ToHorizontalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="SelectedBorder" ToVerticalOffset="15" ToHorizontalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="SelectedCheckMark" ToVerticalOffset="15" ToHorizontalOffset="0" /> | |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="HintGlyph" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0:0:0.500"> | |
<DiscreteDoubleKeyFrame Value="0.5" KeyTime="0:0:0" /> | |
<DiscreteDoubleKeyFrame Value="0" KeyTime="0:0:0.500" /> | |
</DoubleAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="HorizontalSelectionHint"> | |
<Storyboard> | |
<SwipeHintThemeAnimation TargetName="SelectionBackground" ToHorizontalOffset="-23" ToVerticalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="ContentBorder" ToHorizontalOffset="-23" ToVerticalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="SelectedBorder" ToHorizontalOffset="-23" ToVerticalOffset="0" /> | |
<SwipeHintThemeAnimation TargetName="SelectedCheckMark" ToHorizontalOffset="-23" ToVerticalOffset="0" /> | |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="HintGlyph" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0:0:0.500"> | |
<DiscreteDoubleKeyFrame Value="0.5" KeyTime="0:0:0" /> | |
<DiscreteDoubleKeyFrame Value="0" KeyTime="0:0:0.500" /> | |
</DoubleAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="NoSelectionHint" /> | |
<VisualStateGroup.Transitions> | |
<VisualTransition To="NoSelectionHint" GeneratedDuration="0:0:0.65"/> | |
</VisualStateGroup.Transitions> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="SelectionStates"> | |
<VisualState x:Name="Unselecting"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unselected"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="UnselectedPointerOver"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="UnselectedSwiping"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectingGlyph" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="0.5" /> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Selecting"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectedBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectingGlyph" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="HintGlyphBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Selected"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectedBorder" | |
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"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="SelectedSwiping"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectedBorder" | |
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"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="SelectedUnfocused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="SelectionBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="SelectedBorder" | |
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"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="DragStates"> | |
<VisualState x:Name="NotDragging" /> | |
<VisualState x:Name="Dragging"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="InnerDragContent" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource ListViewItemDragThemeOpacity}" /> | |
<DragItemThemeAnimation TargetName="InnerDragContent" /> | |
<FadeOutThemeAnimation TargetName="SelectedCheckMarkOuter" /> | |
<FadeOutThemeAnimation TargetName="SelectedBorder" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="DraggingTarget"> | |
<Storyboard> | |
<DropTargetItemThemeAnimation TargetName="OuterContainer" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="MultipleDraggingPrimary"> | |
<Storyboard> | |
<!-- These two Opacity animations are required - the FadeInThemeAnimations | |
on the same elements animate an internal Opacity. --> | |
<DoubleAnimation Storyboard.TargetName="MultiArrangeOverlayBackground" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="MultiArrangeOverlayText" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="1" /> | |
<DoubleAnimation Storyboard.TargetName="ContentBorder" | |
Storyboard.TargetProperty="Opacity" | |
Duration="0" | |
To="{ThemeResource ListViewItemDragThemeOpacity}" /> | |
<FadeInThemeAnimation TargetName="MultiArrangeOverlayBackground" /> | |
<FadeInThemeAnimation TargetName="MultiArrangeOverlayText" /> | |
<DragItemThemeAnimation TargetName="ContentBorder" /> | |
<FadeOutThemeAnimation TargetName="SelectionBackground" /> | |
<FadeOutThemeAnimation TargetName="SelectedCheckMarkOuter" /> | |
<FadeOutThemeAnimation TargetName="SelectedBorder" /> | |
<FadeOutThemeAnimation TargetName="PointerOverBorder" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="MultipleDraggingSecondary"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="ContentContainer" /> | |
</Storyboard> | |
</VisualState> | |
<VisualStateGroup.Transitions> | |
<VisualTransition To="NotDragging" GeneratedDuration="0:0:0.2"/> | |
</VisualStateGroup.Transitions> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="ReorderHintStates"> | |
<VisualState x:Name="NoReorderHint"/> | |
<VisualState x:Name="BottomReorderHint"> | |
<Storyboard> | |
<DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Bottom" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="TopReorderHint"> | |
<Storyboard> | |
<DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Top" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="RightReorderHint"> | |
<Storyboard> | |
<DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Right" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="LeftReorderHint"> | |
<Storyboard> | |
<DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Left" /> | |
</Storyboard> | |
</VisualState> | |
<VisualStateGroup.Transitions> | |
<VisualTransition To="NoReorderHint" GeneratedDuration="0:0:0.2"/> | |
</VisualStateGroup.Transitions> | |
</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"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Visible</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderRect" | |
Storyboard.TargetProperty="Visibility" | |
Duration="0"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Visible</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid x:Name="ReorderHintContent" Background="Transparent"> | |
<Path x:Name="SelectingGlyph" Opacity="0" Data="F1 M133.1,17.9 L137.2,13.2 L144.6,19.6 L156.4,5.8 L161.2,9.9 L145.6,28.4 z" Fill="{ThemeResource ListViewItemCheckSelectingThemeBrush}" Height="13" Stretch="Fill" Width="15" HorizontalAlignment="Right" Margin="0,9.5,9.5,0" VerticalAlignment="Top" FlowDirection="LeftToRight"/> | |
<Border x:Name="HintGlyphBorder" | |
Height="40" | |
Width="40" | |
HorizontalAlignment="Right" | |
VerticalAlignment="Top" | |
Opacity="0" | |
Margin="4"> | |
<Path x:Name="HintGlyph" Opacity="0" Data="F1 M133.1,17.9 L137.2,13.2 L144.6,19.6 L156.4,5.8 L161.2,9.9 L145.6,28.4 z" Fill="{ThemeResource ListViewItemCheckHintThemeBrush}" Height="13" Stretch="Fill" Width="15" HorizontalAlignment="Right" Margin="0,5.5,5.5,0" VerticalAlignment="Top" FlowDirection="LeftToRight"/> | |
</Border> | |
<Border x:Name="ContentContainer"> | |
<!-- This extra wrapper grid is necessary because rendertransforms set by the reorder hint animations | |
will be lost when ContentContainer becomes a LTE --> | |
<Grid x:Name="InnerDragContent"> | |
<Rectangle x:Name="PointerOverBorder" | |
IsHitTestVisible="False" | |
Opacity="0" | |
Fill="{ThemeResource ListViewItemPointerOverBackgroundThemeBrush}" | |
Margin="1" /> | |
<Rectangle x:Name="FocusVisual" | |
IsHitTestVisible="False" | |
Opacity="0" | |
StrokeThickness="2" | |
Stroke="{ThemeResource ListViewItemFocusBorderThemeBrush}" /> | |
<Rectangle x:Name="SelectionBackground" | |
Margin="4" | |
Fill="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" | |
Opacity="0" /> | |
<Border x:Name="ContentBorder" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Margin="4"> | |
<Grid> | |
<ContentPresenter x:Name="contentPresenter" | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
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" | |
Visibility="Collapsed" | |
Text="Xg" | |
Foreground="{x:Null}" | |
Margin="{TemplateBinding Padding}" | |
IsHitTestVisible="False" | |
AutomationProperties.AccessibilityView="Raw"/> | |
<Rectangle x:Name="PlaceholderRect" | |
Visibility="Collapsed" | |
Fill="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}"/> | |
<Rectangle x:Name="MultiArrangeOverlayBackground" | |
IsHitTestVisible="False" | |
Opacity="0" | |
Fill="{ThemeResource ListViewItemDragBackgroundThemeBrush}" /> | |
</Grid> | |
</Border> | |
<Rectangle x:Name="SelectedBorder" | |
IsHitTestVisible="False" | |
Opacity="0" | |
Stroke="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" | |
StrokeThickness="{ThemeResource GridViewItemSelectedBorderThemeThickness}" | |
Margin="4"/> | |
<Border x:Name="SelectedCheckMarkOuter" | |
IsHitTestVisible="False" | |
HorizontalAlignment="Right" | |
VerticalAlignment="Top" | |
Margin="4"> | |
<Grid x:Name="SelectedCheckMark" Opacity="0" Height="40" Width="40"> | |
<Path x:Name="SelectedEarmark" Data="M0,0 L40,0 L40,40 z" Fill="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" Stretch="Fill"/> | |
<Path Data="F1 M133.1,17.9 L137.2,13.2 L144.6,19.6 L156.4,5.8 L161.2,9.9 L145.6,28.4 z" Fill="{ThemeResource ListViewItemCheckThemeBrush}" Height="13" Stretch="Fill" Width="15" HorizontalAlignment="Right" Margin="0,5.5,5.5,0" VerticalAlignment="Top" FlowDirection="LeftToRight"/> | |
</Grid> | |
</Border> | |
<TextBlock x:Name="MultiArrangeOverlayText" | |
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DragItemsCount}" | |
Foreground="{ThemeResource ListViewItemDragForegroundThemeBrush}" | |
FontFamily="{ThemeResource ContentControlThemeFontFamily}" | |
FontSize="26.667" | |
IsHitTestVisible="False" | |
Opacity="0" | |
TextWrapping="Wrap" | |
TextTrimming="WordEllipsis" | |
Margin="18,9,0,0" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</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="True"/> | |
<Setter Property="Margin" Value="0,0,2,2"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="GridViewItem"> | |
<GridViewItemPresenter | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
Padding="{TemplateBinding Padding}" | |
SelectionCheckMarkVisualEnabled="True" | |
CheckHintBrush="{ThemeResource ListViewItemCheckHintThemeBrush}" | |
CheckSelectingBrush="{ThemeResource ListViewItemCheckSelectingThemeBrush}" | |
CheckBrush="{ThemeResource ListViewItemCheckThemeBrush}" | |
DragBackground="{ThemeResource ListViewItemDragBackgroundThemeBrush}" | |
DragForeground="{ThemeResource ListViewItemDragForegroundThemeBrush}" | |
FocusBorderBrush="{ThemeResource ListViewItemFocusBorderThemeBrush}" | |
PlaceholderBackground="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}" | |
PointerOverBackground="{ThemeResource ListViewItemPointerOverBackgroundThemeBrush}" | |
SelectedBorderThickness="{ThemeResource GridViewItemCompactSelectedBorderThemeThickness}" | |
SelectedBackground="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" | |
SelectedForeground="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" | |
SelectedPointerOverBackground="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" | |
SelectedPointerOverBorderBrush="{ThemeResource ListViewItemSelectedPointerOverBorderThemeBrush}" | |
DisabledOpacity="{ThemeResource ListViewItemDisabledThemeOpacity}" | |
DragOpacity="{ThemeResource ListViewItemDragThemeOpacity}" | |
ReorderHintOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" | |
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" | |
PointerOverBackgroundMargin="1" | |
ContentMargin="4" /> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.SemanticZoom --> | |
<Style TargetType="SemanticZoom"> | |
<Setter Property="Padding" Value="3" /> | |
<Setter Property="Background" Value="Transparent" /> | |
<Setter Property="BorderThickness" Value="0" /> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="TabNavigation" Value="Once" /> | |
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Enabled" /> | |
<Setter Property="ScrollViewer.IsHorizontalRailEnabled" Value="False" /> | |
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Disabled" /> | |
<Setter Property="ScrollViewer.IsVerticalRailEnabled" Value="False" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="SemanticZoom"> | |
<Grid> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="SemanticZoomStates"> | |
<VisualState x:Name="ZoomInView"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="ZoomedOutPresenter" /> | |
<FadeInThemeAnimation TargetName="ZoomedInPresenter" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="ZoomOutView"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="ZoomedInPresenter" /> | |
<FadeInThemeAnimation TargetName="ZoomedOutPresenter" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="ZoomOutButtonStates"> | |
<VisualStateGroup.Transitions> | |
<VisualTransition From="ZoomOutButtonVisible" | |
To="ZoomOutButtonHidden"> | |
<Storyboard BeginTime="0:0:3"> | |
<FadeOutThemeAnimation TargetName="ZoomOutButton" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" | |
Storyboard.TargetName="ZoomOutButton"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>False</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualTransition> | |
</VisualStateGroup.Transitions> | |
<VisualState x:Name="ZoomOutButtonVisible"> | |
<Storyboard> | |
<FadeInThemeAnimation TargetName="ZoomOutButton" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="ZoomOutButtonHidden"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="ZoomOutButton" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" | |
Storyboard.TargetName="ZoomOutButton"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>False</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<ScrollViewer | |
x:Name="ScrollViewer" | |
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}" | |
HorizontalScrollBarVisibility="Hidden" | |
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}" | |
VerticalScrollBarVisibility="Hidden" | |
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}" | |
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}" | |
ZoomMode="Enabled" | |
IsZoomChainingEnabled="True" | |
IsZoomInertiaEnabled="False" | |
IsScrollInertiaEnabled="True" | |
HorizontalContentAlignment="Center" | |
VerticalContentAlignment="Center" | |
MinZoomFactor="0.5" | |
MaxZoomFactor="1.0" | |
AutomationProperties.AccessibilityView="Raw"> | |
<ScrollViewer.Template> | |
<ControlTemplate TargetType="ScrollViewer"> | |
<ScrollContentPresenter | |
x:Name="ScrollContentPresenter" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
Margin="{TemplateBinding Padding}" /> | |
</ControlTemplate> | |
</ScrollViewer.Template> | |
<Border | |
RenderTransformOrigin="0, 0" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<Border.RenderTransform> | |
<CompositeTransform x:Name="ManipulatedElementTransform" /> | |
</Border.RenderTransform> | |
<Grid Margin="{TemplateBinding Padding}"> | |
<ContentPresenter | |
x:Name="ZoomedInPresenter" | |
RenderTransformOrigin="0.5, 0.5" | |
Visibility="Collapsed" | |
IsHitTestVisible="False" | |
Content="{TemplateBinding ZoomedInView}"> | |
<ContentPresenter.RenderTransform> | |
<CompositeTransform x:Name="ZoomedInTransform" /> | |
</ContentPresenter.RenderTransform> | |
</ContentPresenter> | |
<ContentPresenter | |
x:Name="ZoomedOutPresenter" | |
RenderTransformOrigin="0.5, 0.5" | |
Content="{TemplateBinding ZoomedOutView}" | |
IsHitTestVisible="False" | |
Visibility="Collapsed"> | |
<ContentPresenter.RenderTransform> | |
<CompositeTransform x:Name="ZoomedOutTransform" /> | |
</ContentPresenter.RenderTransform> | |
</ContentPresenter> | |
</Grid> | |
</Border> | |
</ScrollViewer> | |
<Button x:Name="ZoomOutButton" | |
IsTabStop="False" | |
Margin="0,0,7,24" | |
HorizontalAlignment="Right" | |
VerticalAlignment="Bottom"> | |
<Button.Template> | |
<ControlTemplate TargetType="Button"> | |
<Border x:Name="Root" | |
Height="21" | |
Width="21" | |
Background="{ThemeResource SemanticZoomButtonBackgroundThemeBrush}" | |
BorderBrush="{ThemeResource SemanticZoomButtonBorderThemeBrush}" | |
BorderThickness="1"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="NormalStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SemanticZoomButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SemanticZoomButtonPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Glyph" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SemanticZoomButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SemanticZoomButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SemanticZoomButtonPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Glyph" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SemanticZoomButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<TextBlock x:Name="Glyph" | |
Text="" | |
UseLayoutRounding="False" | |
Margin="0,0,0,1" | |
HorizontalAlignment="Center" | |
VerticalAlignment="Center" | |
Foreground="{ThemeResource SemanticZoomButtonForegroundThemeBrush}" | |
FontFamily="{ThemeResource SymbolThemeFontFamily}" | |
FontSize="{ThemeResource SemanticZoomButtonFontSize}" | |
IsHitTestVisible="False" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</Border> | |
</ControlTemplate> | |
</Button.Template> | |
</Button> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.AppBar --> | |
<Style TargetType="AppBar"> | |
<Setter Property="Background" Value="{ThemeResource AppBarBackgroundThemeBrush}" /> | |
<Setter Property="BorderBrush" Value="{ThemeResource AppBarBorderThemeBrush}" /> | |
<Setter Property="HorizontalContentAlignment" Value="Stretch" /> | |
<Setter Property="VerticalContentAlignment" Value="Stretch" /> | |
<Setter Property="MinHeight" Value="{ThemeResource AppBarThemeMinHeight}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="AppBar"> | |
<Border x:Name="LayoutRoot" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="FloatingStates"> | |
<VisualState x:Name="FloatingVisible"> | |
<Storyboard> | |
<FadeInThemeAnimation TargetName="LayoutRoot" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="LayoutRoot"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>True</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="FloatingHidden"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="LayoutRoot" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="LayoutRoot"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>False</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="DockPositions"> | |
<VisualState x:Name="Top"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="BorderThickness"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarTopBorderThemeThickness}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="Padding"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarTopThemePadding}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Bottom"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="BorderThickness"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarBottomBorderThemeThickness}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="Padding"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarBottomThemePadding}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<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.CommandBar --> | |
<Style TargetType="CommandBar"> | |
<Setter Property="Background" Value="{ThemeResource AppBarBackgroundThemeBrush}" /> | |
<Setter Property="BorderBrush" Value="{ThemeResource AppBarBorderThemeBrush}" /> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="HorizontalContentAlignment" Value="Stretch" /> | |
<Setter Property="VerticalContentAlignment" Value="Stretch" /> | |
<Setter Property="MinHeight" Value="{ThemeResource AppBarThemeMinHeight}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="CommandBar"> | |
<Border x:Name="LayoutRoot" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="FloatingStates"> | |
<VisualState x:Name="FloatingVisible"> | |
<Storyboard> | |
<FadeInThemeAnimation TargetName="LayoutRoot" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="LayoutRoot"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>True</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="FloatingHidden"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="LayoutRoot" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="LayoutRoot"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>False</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="DockPositions"> | |
<VisualState x:Name="Top"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="BorderThickness"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarTopBorderThemeThickness}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="Padding"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarTopThemePadding}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Bottom"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="BorderThickness"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarBottomBorderThemeThickness}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="Padding"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarBottomThemePadding}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid> | |
<!-- Containers for Primary & Secondary Items --> | |
<ItemsControl x:Name="SecondaryItemsControl" | |
HorizontalAlignment="Left" | |
IsTabStop="False"> | |
<ItemsControl.ItemsPanel> | |
<ItemsPanelTemplate> | |
<StackPanel Orientation="Horizontal"/> | |
</ItemsPanelTemplate> | |
</ItemsControl.ItemsPanel> | |
</ItemsControl> | |
<ItemsControl x:Name="PrimaryItemsControl" | |
HorizontalAlignment="Right" | |
IsTabStop="False"> | |
<ItemsControl.ItemsPanel> | |
<ItemsPanelTemplate> | |
<StackPanel Orientation="Horizontal"/> | |
</ItemsPanelTemplate> | |
</ItemsControl.ItemsPanel> | |
</ItemsControl> | |
</Grid> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.TimePicker --> | |
<Style TargetType="TimePicker"> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="Foreground" Value="{ThemeResource TimePickerForegroundThemeBrush}"/> | |
<Setter Property="HorizontalAlignment" Value="Left" /> | |
<Setter Property="VerticalAlignment" Value="Center"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="TimePicker"> | |
<Border x:Name="LayoutRoot" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<Grid Margin="{TemplateBinding Padding}"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
</Grid.RowDefinitions> | |
<ContentPresenter x:Name="HeaderContentPresenter" | |
Foreground="{ThemeResource TimePickerHeaderForegroundThemeBrush}" | |
Margin="{ThemeResource TimePickerHeaderThemeMargin}" | |
FlowDirection="{TemplateBinding FlowDirection}" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
FontWeight="{ThemeResource TimePickerHeaderThemeFontWeight}" /> | |
<StackPanel Grid.Row="1" Orientation="Horizontal"> | |
<Border x:Name="FirstPickerHost" Margin="{ThemeResource TimePickerFirstHostThemeMargin}"> | |
<ComboBox x:Name="HourPicker" | |
MinWidth="{ThemeResource TimePickerSelectorThemeMinWidth}" | |
FontWeight="{TemplateBinding FontWeight}" | |
FontSize="{TemplateBinding FontSize}" | |
FontFamily="{TemplateBinding FontFamily}" | |
Foreground="{TemplateBinding Foreground}"/> | |
</Border> | |
<Border x:Name="SecondPickerHost"> | |
<ComboBox x:Name="MinutePicker" | |
MinWidth="{ThemeResource TimePickerSelectorThemeMinWidth}" | |
FontWeight="{TemplateBinding FontWeight}" | |
FontSize="{TemplateBinding FontSize}" | |
FontFamily="{TemplateBinding FontFamily}" | |
Foreground="{TemplateBinding Foreground}"/> | |
</Border> | |
<Border x:Name="ThirdPickerHost" Margin="{ThemeResource TimePickerThirdHostThemeMargin}"> | |
<ComboBox x:Name="PeriodPicker" | |
MinWidth="{ThemeResource TimePickerSelectorThemeMinWidth}" | |
FontWeight="{TemplateBinding FontWeight}" | |
FontSize="{TemplateBinding FontSize}" | |
FontFamily="{TemplateBinding FontFamily}" | |
Foreground="{TemplateBinding Foreground}"/> | |
</Border> | |
</StackPanel> | |
</Grid> | |
</Border> | |
</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> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualStateGroup.Transitions> | |
<VisualTransition From="Updating" To="Determinate"> | |
<Storyboard> | |
<RepositionThemeAnimation 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 TargetName="EllipseGrid" /> | |
</Storyboard> | |
</VisualTransition> | |
</VisualStateGroup.Transitions> | |
<VisualState x:Name="Determinate" /> | |
<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" /> | |
<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}" /> | |
<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" /> | |
<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}" /> | |
<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" /> | |
<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}" /> | |
<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" /> | |
<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}" /> | |
<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" /> | |
<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}" /> | |
<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="-50" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:3" Value="100" /> | |
</DoubleAnimationUsingKeyFrames> | |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="B2"> | |
<EasingDoubleKeyFrame KeyTime="0" Value="-50" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:0.667" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:2.167" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:3.167" Value="100" /> | |
</DoubleAnimationUsingKeyFrames> | |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="B3"> | |
<EasingDoubleKeyFrame KeyTime="0" Value="-50" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:0.833" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:2.333" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:3.333" Value="100" /> | |
</DoubleAnimationUsingKeyFrames> | |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="B4"> | |
<EasingDoubleKeyFrame KeyTime="0" Value="-50" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="100" /> | |
</DoubleAnimationUsingKeyFrames> | |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="B5"> | |
<EasingDoubleKeyFrame KeyTime="0" Value="-50" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:1.167" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:2.667" Value="0" /> | |
<EasingDoubleKeyFrame KeyTime="0:0:3.667" Value="100" /> | |
</DoubleAnimationUsingKeyFrames> | |
<DoubleAnimation Storyboard.TargetName="EllipseGrid" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="E1" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="E2" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="E3" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="E4" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="E5" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<!-- 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 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> | |
<Ellipse x:Name="E1" | |
Fill="{TemplateBinding Foreground}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
RenderTransformOrigin="0.5,0.5"> | |
<Ellipse.RenderTransform> | |
<TranslateTransform /> | |
</Ellipse.RenderTransform> | |
</Ellipse> | |
</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> | |
<Ellipse x:Name="E2" | |
Fill="{TemplateBinding Foreground}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
RenderTransformOrigin="0.5,0.5"> | |
<Ellipse.RenderTransform> | |
<TranslateTransform /> | |
</Ellipse.RenderTransform> | |
</Ellipse> | |
</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> | |
<Ellipse x:Name="E3" | |
Fill="{TemplateBinding Foreground}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
RenderTransformOrigin="0.5,0.5"> | |
<Ellipse.RenderTransform> | |
<TranslateTransform /> | |
</Ellipse.RenderTransform> | |
</Ellipse> | |
</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> | |
<Ellipse x:Name="E4" | |
Fill="{TemplateBinding Foreground}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
RenderTransformOrigin="0.5,0.5"> | |
<Ellipse.RenderTransform> | |
<TranslateTransform /> | |
</Ellipse.RenderTransform> | |
</Ellipse> | |
</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> | |
<Ellipse x:Name="E5" | |
Fill="{TemplateBinding Foreground}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
RenderTransformOrigin="0.5,0.5"> | |
<Ellipse.RenderTransform> | |
<TranslateTransform /> | |
</Ellipse.RenderTransform> | |
</Ellipse> | |
</Border> | |
</Grid> | |
<Border x:Name="DeterminateRoot" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<Rectangle x:Name="ProgressBarIndicator" | |
Margin="{TemplateBinding Padding}" | |
Fill="{TemplateBinding Foreground}" | |
HorizontalAlignment="Left" /> | |
</Border> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.ProgressRing --> | |
<Style TargetType="ProgressRing"> | |
<Setter Property="Background" Value="Transparent" /> | |
<Setter Property="Foreground" Value="{ThemeResource ProgressBarIndeterminateForegroundThemeBrush}" /> | |
<Setter Property="IsHitTestVisible" Value="False" /> | |
<Setter Property="HorizontalAlignment" Value="Center" /> | |
<Setter Property="VerticalAlignment" Value="Center" /> | |
<Setter Property="MinHeight" Value="20" /> | |
<Setter Property="MinWidth" Value="20" /> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ProgressRing"> | |
<Border Background="{TemplateBinding Background}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
BorderBrush="{TemplateBinding BorderBrush}"> | |
<Border.Resources> | |
<Style x:Key="ProgressRingEllipseStyle" TargetType="Ellipse"> | |
<Setter Property="Opacity" Value="0" /> | |
<Setter Property="HorizontalAlignment" Value="Left" /> | |
<Setter Property="VerticalAlignment" Value="Top" /> | |
</Style> | |
</Border.Resources> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="SizeStates"> | |
<VisualState x:Name="Large"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Duration="0" | |
Storyboard.TargetName="SixthCircle" | |
Storyboard.TargetProperty="Visibility"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Visible</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</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="Ring" | |
Storyboard.TargetProperty="Visibility"> | |
<DiscreteObjectKeyFrame KeyTime="0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Visibility>Visible</Visibility> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</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> | |
<Grid x:Name="Ring" | |
Margin="{TemplateBinding Padding}" | |
MaxWidth="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.MaxSideLength}" | |
MaxHeight="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.MaxSideLength}" | |
Visibility="Collapsed" | |
RenderTransformOrigin=".5,.5" | |
FlowDirection="LeftToRight"> | |
<Canvas RenderTransformOrigin=".5,.5"> | |
<Canvas.RenderTransform> | |
<RotateTransform x:Name="E1R" /> | |
</Canvas.RenderTransform> | |
<Ellipse | |
x:Name="E1" | |
Style="{StaticResource ProgressRingEllipseStyle}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Margin="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" | |
Fill="{TemplateBinding Foreground}"/> | |
</Canvas> | |
<Canvas RenderTransformOrigin=".5,.5"> | |
<Canvas.RenderTransform> | |
<RotateTransform x:Name="E2R" /> | |
</Canvas.RenderTransform> | |
<Ellipse | |
x:Name="E2" | |
Style="{StaticResource ProgressRingEllipseStyle}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Margin="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" | |
Fill="{TemplateBinding Foreground}"/> | |
</Canvas> | |
<Canvas RenderTransformOrigin=".5,.5"> | |
<Canvas.RenderTransform> | |
<RotateTransform x:Name="E3R" /> | |
</Canvas.RenderTransform> | |
<Ellipse | |
x:Name="E3" | |
Style="{StaticResource ProgressRingEllipseStyle}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Margin="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" | |
Fill="{TemplateBinding Foreground}"/> | |
</Canvas> | |
<Canvas RenderTransformOrigin=".5,.5"> | |
<Canvas.RenderTransform> | |
<RotateTransform x:Name="E4R" /> | |
</Canvas.RenderTransform> | |
<Ellipse | |
x:Name="E4" | |
Style="{StaticResource ProgressRingEllipseStyle}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Margin="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" | |
Fill="{TemplateBinding Foreground}"/> | |
</Canvas> | |
<Canvas RenderTransformOrigin=".5,.5"> | |
<Canvas.RenderTransform> | |
<RotateTransform x:Name="E5R" /> | |
</Canvas.RenderTransform> | |
<Ellipse | |
x:Name="E5" | |
Style="{StaticResource ProgressRingEllipseStyle}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Margin="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" | |
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}" | |
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseDiameter}" | |
Margin="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.EllipseOffset}" | |
Fill="{TemplateBinding Foreground}"/> | |
</Canvas> | |
</Grid> | |
</Border> | |
</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="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="Slider"> | |
<Grid Margin="{TemplateBinding Padding}"> | |
<Grid.Resources> | |
<Style TargetType="Thumb" x:Key="SliderThumbStyle"> | |
<Setter Property="BorderThickness" Value="1" /> | |
<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="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalDecreaseRect" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDecreasePressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalTrackRect" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalDecreaseRect" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDecreasePressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalTrackRect" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalThumb" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalThumb" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalThumb" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalThumb" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<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="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="HorizontalThumb" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalThumb" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBackgroundThemeBrush}" /> | |
</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 SliderThumbDisabledBackgroundThemeBrush}" /> | |
</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> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalDecreaseRect" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDecreasePointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalTrackRect" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalDecreaseRect" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDecreasePointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalTrackRect" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalThumb" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalThumb" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalThumb" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalThumb" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhiteHorizontal" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlackHorizontal" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhiteVertical" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlackVertical" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<ContentPresenter x:Name="HeaderContentPresenter" | |
Foreground="{ThemeResource SliderHeaderForegroundThemeBrush}" | |
Margin="{ThemeResource SliderHeaderThemeMargin}" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
FontWeight="{ThemeResource SliderHeaderThemeFontWeight}" /> | |
<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" /> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="32" /> | |
</Grid.RowDefinitions> | |
<Rectangle x:Name="HorizontalTrackRect" | |
Fill="{TemplateBinding Background}" | |
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}" | |
VerticalAlignment="Bottom" | |
Margin="0,0,0,2" | |
Grid.ColumnSpan="3" /> | |
<TickBar x:Name="HorizontalInlineTickBar" | |
Visibility="Collapsed" | |
Fill="{ThemeResource SliderTickMarkInlineBackgroundThemeBrush}" | |
Height="{ThemeResource SliderTrackThemeHeight}" | |
Grid.Row="1" | |
Grid.ColumnSpan="3" /> | |
<TickBar x:Name="BottomTickBar" | |
Visibility="Collapsed" | |
Fill="{ThemeResource SliderTickmarkOutsideBackgroundThemeBrush}" | |
Height="{ThemeResource SliderOutsideTickBarThemeHeight}" | |
VerticalAlignment="Top" | |
Margin="0,2,0,0" | |
Grid.Row="2" | |
Grid.ColumnSpan="3" /> | |
<Thumb x:Name="HorizontalThumb" | |
Background="{ThemeResource SliderThumbBackgroundThemeBrush}" | |
Style="{StaticResource SliderThumbStyle}" | |
DataContext="{TemplateBinding Value}" | |
Height="{ThemeResource SliderTrackThemeHeight}" | |
Width="{ThemeResource SliderTrackThemeHeight}" | |
Grid.Row="1" | |
Grid.Column="1" | |
AutomationProperties.AccessibilityView="Raw"/> | |
<Rectangle x:Name="HorizontalBorder" | |
Stroke="{TemplateBinding BorderBrush}" | |
StrokeThickness="{TemplateBinding BorderThickness}" | |
Grid.Row="1" | |
Grid.ColumnSpan="3" /> | |
<Rectangle x:Name="FocusVisualWhiteHorizontal" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" | |
Grid.RowSpan="3" | |
Grid.ColumnSpan="3" /> | |
<Rectangle x:Name="FocusVisualBlackHorizontal" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" | |
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="17" /> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition Width="17" /> | |
</Grid.ColumnDefinitions> | |
<Rectangle x:Name="VerticalTrackRect" | |
Fill="{TemplateBinding Background}" | |
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,2,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="2,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" /> | |
<Rectangle x:Name="FocusVisualWhiteVertical" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" | |
Grid.RowSpan="3" | |
Grid.ColumnSpan="3" /> | |
<Rectangle x:Name="FocusVisualBlackVertical" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" | |
Grid.RowSpan="3" | |
Grid.ColumnSpan="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="Left" /> | |
<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="MinWidth" Value="154" /> | |
<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"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchCurtain" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchCurtainPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchTrackPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnob" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchThumbPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnob" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchThumbPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchCurtain" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchCurtainPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchTrackPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnob" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchThumbPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnob" | |
Storyboard.TargetProperty="Stroke"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchThumbPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchHeaderDisabledForegroundThemeBrush}" /> | |
</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="OuterBorder" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchOuterBorderDisabledBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchTrackDisabledBackgroundThemeBrush}" /> | |
</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="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 TargetName="SwitchKnob" FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobCurrentToOnOffset}" /> | |
<RepositionThemeAnimation TargetName="SwitchCurtain" FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.CurtainCurrentToOnOffset}" /> | |
</Storyboard> | |
</VisualTransition> | |
<VisualTransition x:Name="DraggingToOffTransition" | |
From="Dragging" | |
To="Off" | |
GeneratedDuration="0"> | |
<Storyboard> | |
<RepositionThemeAnimation TargetName="SwitchKnob" FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobCurrentToOffOffset}" /> | |
<RepositionThemeAnimation TargetName="SwitchCurtain" FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.CurtainCurrentToOffOffset}" /> | |
</Storyboard> | |
</VisualTransition> | |
<VisualTransition x:Name="OnToOffTransition" | |
From="On" | |
To="Off" | |
GeneratedDuration="0"> | |
<Storyboard> | |
<RepositionThemeAnimation TargetName="SwitchKnob" FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobOnToOffOffset}" /> | |
<RepositionThemeAnimation TargetName="SwitchCurtain" FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.CurtainOnToOffOffset}" /> | |
</Storyboard> | |
</VisualTransition> | |
<VisualTransition x:Name="OffToOnTransition" | |
From="Off" | |
To="On" | |
GeneratedDuration="0"> | |
<Storyboard> | |
<RepositionThemeAnimation TargetName="SwitchKnob" FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobOffToOnOffset}" /> | |
<RepositionThemeAnimation 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="-44" | |
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="38" | |
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"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>True</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</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"> | |
<DiscreteObjectKeyFrame.Value> | |
<x:Boolean>True</x:Boolean> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
</Grid.RowDefinitions> | |
<ContentPresenter x:Name="HeaderContentPresenter" | |
Foreground="{ThemeResource ToggleSwitchHeaderForegroundThemeBrush}" | |
Margin="6" | |
Grid.ColumnSpan="2" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
FontWeight="Semilight" | |
AutomationProperties.AccessibilityView="Raw" /> | |
<Grid Grid.Row="1" Margin="{TemplateBinding Padding}"> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition Width="7" /> | |
<ColumnDefinition Width="Auto" /> | |
</Grid.ColumnDefinitions> | |
<ContentPresenter x:Name="OffContentPresenter" | |
MinWidth="65" | |
Margin="6,5,0,16" | |
Opacity="0" | |
IsHitTestVisible="False" | |
Content="{TemplateBinding OffContent}" | |
ContentTemplate="{TemplateBinding OffContentTemplate}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" | |
AutomationProperties.AccessibilityView="Raw" /> | |
<ContentPresenter x:Name="OnContentPresenter" | |
MinWidth="65" | |
Margin="6,5,0,16" | |
Opacity="0" | |
IsHitTestVisible="False" | |
Content="{TemplateBinding OnContent}" | |
ContentTemplate="{TemplateBinding OnContentTemplate}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" | |
AutomationProperties.AccessibilityView="Raw" /> | |
<Grid Grid.Column="2" Background="Transparent" ManipulationMode="None"> | |
<Grid x:Name="SwitchKnobBounds" Height="19" Margin="13,5,13,16"> | |
<Border x:Name="OuterBorder" | |
BorderBrush="{ThemeResource ToggleSwitchOuterBorderBorderThemeBrush}" | |
BorderThickness="2"> | |
<Border x:Name="InnerBorder" | |
Background="{ThemeResource ToggleSwitchTrackBackgroundThemeBrush}" | |
BorderBrush="{ThemeResource ToggleSwitchTrackBorderThemeBrush}" | |
BorderThickness="1"> | |
<ContentPresenter x:Name="SwitchCurtainBounds"> | |
<ContentPresenter x:Name="SwitchCurtainClip"> | |
<Rectangle x:Name="SwitchCurtain" | |
Fill="{ThemeResource ToggleSwitchCurtainBackgroundThemeBrush}" | |
Width="44"> | |
<Rectangle.RenderTransform> | |
<TranslateTransform x:Name="CurtainTranslateTransform" X="-44" /> | |
</Rectangle.RenderTransform> | |
</Rectangle> | |
</ContentPresenter> | |
</ContentPresenter> | |
</Border> | |
</Border> | |
<Rectangle x:Name="SwitchKnob" | |
Fill="{ThemeResource ToggleSwitchThumbBackgroundThemeBrush}" | |
Stroke="{ThemeResource ToggleSwitchThumbBorderThemeBrush}" | |
StrokeThickness="1" | |
HorizontalAlignment="Left" | |
Width="12"> | |
<Rectangle.RenderTransform> | |
<TranslateTransform x:Name="KnobTranslateTransform" /> | |
</Rectangle.RenderTransform> | |
</Rectangle> | |
<Rectangle x:Name="FocusVisualWhite" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
Margin="-3" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
Margin="-3" | |
StrokeDashOffset="0.5" /> | |
</Grid> | |
<Thumb x:Name="SwitchThumb" AutomationProperties.AccessibilityView="Raw"> | |
<Thumb.Template> | |
<ControlTemplate TargetType="Thumb"> | |
<Rectangle Fill="Transparent" /> | |
</ControlTemplate> | |
</Thumb.Template> | |
</Thumb> | |
</Grid> | |
</Grid> | |
</Grid> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.ToolTip --> | |
<Style TargetType="ToolTip"> | |
<Setter Property="Foreground" Value="{ThemeResource ToolTipForegroundThemeBrush}" /> | |
<Setter Property="Background" Value="{ThemeResource ToolTipBackgroundThemeBrush}" /> | |
<Setter Property="BorderBrush" Value="{ThemeResource ToolTipBorderThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource ToolTipBorderThemeThickness}" /> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="{ThemeResource ToolTipContentThemeFontSize}" /> | |
<Setter Property="Padding" Value="10,6,10,7" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ToolTip"> | |
<Border x:Name="LayoutRoot" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="OpenStates"> | |
<VisualState x:Name="Closed"> | |
<Storyboard> | |
<FadeOutThemeAnimation TargetName="LayoutRoot" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Opened"> | |
<Storyboard> | |
<FadeInThemeAnimation TargetName="LayoutRoot" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<ContentPresenter Content="{TemplateBinding Content}" | |
ContentTransitions="{TemplateBinding ContentTransitions}" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
Margin="{TemplateBinding Padding}" /> | |
</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> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" Storyboard.TargetProperty="Opacity" To="1" Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" Storyboard.TargetProperty="Opacity" To="1" Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}" | |
Margin="3"> | |
<Border.Resources> | |
<ControlTemplate x:Key="HorizontalNextTemplate" TargetType="Button"> | |
<Border x:Name="Root" | |
Background="{ThemeResource FlipViewButtonBackgroundThemeBrush}" | |
BorderThickness="{ThemeResource FlipViewButtonBorderThemeThickness}" | |
BorderBrush="{ThemeResource FlipViewButtonBorderThemeBrush}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Arrow" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Arrow" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Path x:Name="Arrow" | |
Data="M4.12,0 L9.67,5.47 L4.12,10.94 L0,10.88 L5.56,5.47 L0,0.06 z" | |
Fill="{ThemeResource FlipViewButtonForegroundThemeBrush}" | |
Width="9.67" | |
Height="10.94" | |
Stretch="Fill" | |
HorizontalAlignment="Center" | |
VerticalAlignment="Center" | |
UseLayoutRounding="False" /> | |
</Border> | |
</ControlTemplate> | |
<ControlTemplate x:Key="HorizontalPreviousTemplate" TargetType="Button"> | |
<Border x:Name="Root" | |
Background="{ThemeResource FlipViewButtonBackgroundThemeBrush}" | |
BorderThickness="{ThemeResource FlipViewButtonBorderThemeThickness}" | |
BorderBrush="{ThemeResource FlipViewButtonBorderThemeBrush}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Arrow" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Arrow" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Path x:Name="Arrow" | |
Data="M5.55,0 L9.67,0.06 L4.12,5.47 L9.67,10.88 L5.55,10.94 L0,5.48 z" | |
Fill="{ThemeResource FlipViewButtonForegroundThemeBrush}" | |
Width="9.67" | |
Height="10.94" | |
Stretch="Fill" | |
HorizontalAlignment="Center" | |
VerticalAlignment="Center" | |
UseLayoutRounding="False" /> | |
</Border> | |
</ControlTemplate> | |
<ControlTemplate x:Key="VerticalNextTemplate" TargetType="Button"> | |
<Border x:Name="Root" | |
Background="{ThemeResource FlipViewButtonBackgroundThemeBrush}" | |
BorderThickness="{ThemeResource FlipViewButtonBorderThemeThickness}" | |
BorderBrush="{ThemeResource FlipViewButtonBorderThemeBrush}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Arrow" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Arrow" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Path x:Name="Arrow" | |
Data="M0.06,0 L5.47,5.56 L10.88,0 L10.94,4.12 L5.48,9.67 L0,4.12 z" | |
Fill="{ThemeResource FlipViewButtonForegroundThemeBrush}" | |
Width="10.94" | |
Height="9.67" | |
Stretch="Fill" | |
HorizontalAlignment="Center" | |
VerticalAlignment="Center" | |
UseLayoutRounding="False" /> | |
</Border> | |
</ControlTemplate> | |
<ControlTemplate x:Key="VerticalPreviousTemplate" TargetType="Button"> | |
<Border x:Name="Root" | |
Background="{ThemeResource FlipViewButtonBackgroundThemeBrush}" | |
BorderThickness="{ThemeResource FlipViewButtonBorderThemeThickness}" | |
BorderBrush="{ThemeResource FlipViewButtonBorderThemeBrush}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Arrow" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Root" | |
Storyboard.TargetProperty="BorderBrush"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedBorderThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Arrow" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource FlipViewButtonPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Path x:Name="Arrow" | |
Data="M5.63,0 L11.11,5.55 L11.05,9.67 L5.64,4.12 L0.23,9.67 L0.17,5.55 z" | |
Fill="{ThemeResource FlipViewButtonForegroundThemeBrush}" | |
Width="10.94" | |
Height="9.67" | |
Stretch="Fill" | |
HorizontalAlignment="Center" | |
VerticalAlignment="Center" | |
UseLayoutRounding="False" /> | |
</Border> | |
</ControlTemplate> | |
</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> | |
<Button x:Name="PreviousButtonHorizontal" | |
Template="{ThemeResource HorizontalPreviousTemplate}" | |
Width="70" | |
Height="40" | |
IsTabStop="False" | |
HorizontalAlignment="Left" | |
VerticalAlignment="Center" /> | |
<Button x:Name="NextButtonHorizontal" | |
Template="{StaticResource HorizontalNextTemplate}" | |
Width="70" | |
Height="40" | |
IsTabStop="False" | |
HorizontalAlignment="Right" | |
VerticalAlignment="Center" /> | |
<Button x:Name="PreviousButtonVertical" | |
Template="{StaticResource VerticalPreviousTemplate}" | |
Width="70" | |
Height="40" | |
IsTabStop="False" | |
HorizontalAlignment="Center" | |
VerticalAlignment="Top" /> | |
<Button x:Name="NextButtonVertical" | |
Template="{StaticResource VerticalNextTemplate}" | |
Width="70" | |
Height="40" | |
IsTabStop="False" | |
HorizontalAlignment="Center" | |
VerticalAlignment="Bottom" /> | |
</Grid> | |
</Border> | |
<Rectangle x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" /> | |
</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 /> | |
<ContentThemeTransition /> | |
<ReorderThemeTransition /> | |
<EntranceThemeTransition IsStaggeringEnabled="False" /> | |
</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="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="RequestedTheme" Value="Light" /> | |
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> | |
<Setter Property="VerticalContentAlignment" Value="Stretch"/> | |
<Setter Property="IsTabStop" Value="False"/> | |
<Setter Property="Background" Value="{ThemeResource FlyoutBackgroundThemeBrush}"/> | |
<Setter Property="BorderBrush" Value="{ThemeResource FlyoutBorderThemeBrush}"/> | |
<Setter Property="BorderThickness" Value="{ThemeResource FlyoutBorderThemeThickness}"/> | |
<Setter Property="Padding" Value="{ThemeResource FlyoutContentThemePadding}"/> | |
<Setter Property="MinWidth" Value="{ThemeResource FlyoutThemeMinWidth}"/> | |
<Setter Property="MaxWidth" Value="{ThemeResource FlyoutThemeMaxWidth}"/> | |
<Setter Property="MinHeight" Value="{ThemeResource FlyoutThemeMinHeight}"/> | |
<Setter Property="MaxHeight" Value="{ThemeResource FlyoutThemeMaxHeight}"/> | |
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Auto" /> | |
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" /> | |
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" /> | |
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" /> | |
<Setter Property="ScrollViewer.ZoomMode" Value="Disabled" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="FlyoutPresenter"> | |
<Border Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<ScrollViewer x:Name="ScrollViewer" | |
ZoomMode="{TemplateBinding ScrollViewer.ZoomMode}" | |
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}" | |
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}" | |
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}" | |
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}" | |
AutomationProperties.AccessibilityView="Raw"> | |
<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.SettingsFlyout --> | |
<Style TargetType="SettingsFlyout"> | |
<Setter Property="RequestedTheme" Value="Light" /> | |
<Setter Property="HeaderBackground" Value="{ThemeResource SettingsFlyoutHeaderBackgroundThemeBrush}" /> | |
<Setter Property="HeaderForeground" Value="{ThemeResource SettingsFlyoutHeaderForegroundThemeBrush}" /> | |
<Setter Property="Background" Value="{ThemeResource SettingsFlyoutBackgroundThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="1,0,0,0" /> | |
<Setter Property="Padding" Value="39,33,40,33" /> | |
<Setter Property="HorizontalContentAlignment" Value="Left" /> | |
<Setter Property="VerticalContentAlignment" Value="Top" /> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Disabled" /> | |
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled" /> | |
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" /> | |
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" /> | |
<Setter Property="ScrollViewer.ZoomMode" Value="Disabled" /> | |
<Setter Property="Width" Value="346" /> | |
<Setter Property="MinWidth" Value="320" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="SettingsFlyout"> | |
<Border Background="{TemplateBinding Background}" | |
BorderBrush="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.BorderBrush}" | |
BorderThickness="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.BorderThickness}"> | |
<Border.Resources> | |
<Style x:Key="BackButtonStyle" TargetType="Button"> | |
<Setter Property="FontFamily" Value="{ThemeResource SymbolThemeFontFamily}" /> | |
<Setter Property="FontSize" Value="39" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="Button"> | |
<Grid x:Name="RootGrid"> | |
<Grid Margin="-12,-16,-10,-10" Background="Transparent"> | |
<Ellipse x:Name="Background" | |
Fill="Transparent" | |
Stroke="{TemplateBinding Foreground}" | |
StrokeThickness="2" | |
Height="30" | |
Width="30" | |
Margin="12,0,0,0" | |
HorizontalAlignment="Left" /> | |
<TextBlock x:Name="NormalGlyph" | |
FontWeight="SemiLight" | |
Text="" | |
Margin="10,0,0,0" | |
Foreground="{TemplateBinding Foreground}" | |
AutomationProperties.AccessibilityView="Raw"/> | |
<Ellipse x:Name="PressedBackground" | |
Fill="{TemplateBinding Foreground}" | |
StrokeThickness="0" | |
Height="30" | |
Width="30" | |
Margin="12,0,0,0" | |
HorizontalAlignment="Left" | |
Opacity="0" /> | |
<TextBlock x:Name="PressedGlyph" | |
FontWeight="SemiLight" | |
Text="" | |
Margin="10,0,0,0" | |
Foreground="{TemplateBinding Background}" | |
Opacity="0" | |
AutomationProperties.AccessibilityView="Raw"/> | |
</Grid> | |
<Rectangle x:Name="FocusVisualWhite" | |
Margin="-3,-6,-3,0" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
Margin="-3,-6,-3,0" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" /> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame Value="{ThemeResource SettingsFlyoutBackButtonPointerOverBackgroundThemeBrush}" | |
KeyTime="0" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="PressedBackground" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="PressedGlyph" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RootGrid" | |
Storyboard.TargetProperty="Visibility"> | |
<DiscreteObjectKeyFrame Value="Collapsed" KeyTime="0" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="SettingsEdgeLocationStates"> | |
<VisualState x:Name="Right" /> | |
<VisualState x:Name="Left"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalGlyph" | |
Storyboard.TargetProperty="Text"> | |
<DiscreteObjectKeyFrame Value="" KeyTime="0" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PressedGlyph" | |
Storyboard.TargetProperty="Text"> | |
<DiscreteObjectKeyFrame Value="" KeyTime="0" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
</Border.Resources> | |
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="80" /> | |
<RowDefinition Height="*" /> | |
<RowDefinition Height="Auto" /> | |
</Grid.RowDefinitions> | |
<Grid x:Name="Header" | |
Background="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.HeaderBackground}"> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition Width="*" /> | |
<ColumnDefinition Width="Auto" /> | |
</Grid.ColumnDefinitions> | |
<Button x:Name="BackButton" | |
Foreground="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.HeaderForeground}" | |
Background="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.HeaderBackground}" | |
Margin="39,0,0,12" | |
Height="30" | |
Width="30" | |
Style="{StaticResource BackButtonStyle}" | |
VerticalAlignment="Bottom" /> | |
<TextBlock Text="{TemplateBinding Title}" | |
Foreground="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.HeaderForeground}" | |
FontFamily="{ThemeResource SettingsFlyoutHeaderThemeFontFamily}" | |
FontWeight="SemiLight" | |
FontSize="{ThemeResource SettingsFlyoutHeaderThemeFontSize}" | |
TextTrimming="CharacterEllipsis" | |
Grid.Column="1" | |
VerticalAlignment="Bottom" | |
Margin="10,0,0,13" /> | |
<Image Height="30" | |
Width="30" | |
Source="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.IconSource}" | |
Grid.Column="2" | |
Margin="0,0,40,15" | |
VerticalAlignment="Bottom" /> | |
</Grid> | |
<ScrollViewer x:Name="ScrollViewer" | |
Grid.Row="1" | |
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}" | |
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}" | |
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}" | |
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}" | |
ZoomMode="{TemplateBinding ScrollViewer.ZoomMode}" | |
AutomationProperties.AccessibilityView="Raw"> | |
<ContentPresenter x:Name="ContentPresenter" | |
Content="{TemplateBinding Content}" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
ContentTransitions="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.ContentTransitions}" | |
Margin="{TemplateBinding Padding}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> | |
</ScrollViewer> | |
<Rectangle x:Name="InputPanePlaceholder" Grid.Row="2" /> | |
</Grid> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.MenuFlyoutPresenter --> | |
<Style TargetType="MenuFlyoutPresenter"> | |
<Setter Property="RequestedTheme" Value="Light" /> | |
<Setter Property="Background" Value="{ThemeResource FlyoutBackgroundThemeBrush}" /> | |
<Setter Property="BorderBrush" Value="{ThemeResource FlyoutBorderThemeBrush}" /> | |
<Setter Property="BorderThickness" Value="{ThemeResource FlyoutBorderThemeThickness}" /> | |
<Setter Property="Padding" Value="{ThemeResource MenuFlyoutPresenterThemePadding}" /> | |
<Setter Property="ScrollViewer.HorizontalScrollMode" Value="Disabled" /> | |
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled" /> | |
<Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto" /> | |
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" /> | |
<Setter Property="ScrollViewer.IsHorizontalRailEnabled" Value="False" /> | |
<Setter Property="ScrollViewer.IsVerticalRailEnabled" Value="False" /> | |
<Setter Property="ScrollViewer.ZoomMode" Value="Disabled" /> | |
<Setter Property="MinWidth" Value="{ThemeResource FlyoutThemeMinWidth}" /> | |
<Setter Property="MaxWidth" Value="{ThemeResource FlyoutThemeMaxWidth}" /> | |
<Setter Property="MinHeight" Value="{ThemeResource FlyoutThemeMinHeight}" /> | |
<Setter Property="MaxHeight" Value="{ThemeResource FlyoutThemeMaxHeight}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="MenuFlyoutPresenter"> | |
<Border Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<ScrollViewer Padding="{TemplateBinding Padding}" | |
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}" | |
AutomationProperties.AccessibilityView="Raw"> | |
<ItemsPresenter /> | |
</ScrollViewer> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Windows.UI.Xaml.Controls.MenuFlyoutSeparator --> | |
<Style TargetType="MenuFlyoutSeparator"> | |
<Setter Property="Background" Value="{ThemeResource MenuFlyoutSeparatorThemeBrush}" /> | |
<Setter Property="Padding" Value="{ThemeResource MenuFlyoutSeparatorThemePadding}" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="MenuFlyoutSeparator"> | |
<Rectangle Fill="{TemplateBinding Background}" | |
Margin="{TemplateBinding Padding}" | |
Height="{ThemeResource MenuFlyoutSeparatorThemeHeight}" /> | |
</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="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontWeight" Value="SemiBold" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="HorizontalContentAlignment" Value="Stretch" /> | |
<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"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemFocusedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemFocusedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="CheckPlaceholderStates"> | |
<VisualState x:Name="NoPlaceholder" /> | |
<VisualState x:Name="CheckPlaceholder"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" | |
Storyboard.TargetProperty="Margin"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPlaceholderThemeThickness}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border x:Name="InnerBorder" Padding="{TemplateBinding Padding}"> | |
<TextBlock x:Name="TextBlock" | |
Text="{TemplateBinding Text}" | |
TextTrimming="CharacterEllipsis" | |
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="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> | |
<Setter Property="FontWeight" Value="SemiBold" /> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> | |
<Setter Property="HorizontalContentAlignment" Value="Stretch" /> | |
<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"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPointerOverBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPressedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" | |
Storyboard.TargetProperty="Background"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemFocusedBackgroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextBlock" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemFocusedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Fill"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource MenuFlyoutItemFocusedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="CheckStates"> | |
<VisualState x:Name="Unchecked" /> | |
<VisualState x:Name="Checked"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="CheckGlyph" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Border x:Name="InnerBorder"> | |
<Grid Margin="{TemplateBinding Padding}"> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition Width="*" /> | |
</Grid.ColumnDefinitions> | |
<Path x:Name="CheckGlyph" | |
Margin="0,0,10,0" | |
Data="F1 M 0,58 L 2,56 L 6,60 L 13,51 L 15,53 L 6,64 z" | |
Fill="{TemplateBinding Foreground}" | |
Height="14" | |
Stretch="Fill" | |
Width="16" | |
Opacity="0" | |
FlowDirection="LeftToRight" /> | |
<TextBlock x:Name="TextBlock" | |
Grid.Column="1" | |
Text="{TemplateBinding Text}" | |
TextTrimming="CharacterEllipsis" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> | |
</Grid> | |
</Border> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for Hub --> | |
<Style TargetType="Hub"> | |
<Setter Property="HorizontalContentAlignment" Value="Left" /> | |
<Setter Property="Padding" Value="40,60,40,0" /> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="Hub"> | |
<Border Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="OrientationStates"> | |
<VisualState x:Name="Horizontal" /> | |
<VisualState x:Name="Vertical"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ScrollViewer" | |
Storyboard.TargetProperty="HorizontalScrollMode"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="Disabled"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ScrollViewer" | |
Storyboard.TargetProperty="HorizontalScrollBarVisibility"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="Disabled"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ScrollViewer" | |
Storyboard.TargetProperty="VerticalScrollMode"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="Auto"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ScrollViewer" | |
Storyboard.TargetProperty="VerticalScrollBarVisibility"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="Auto"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ScrollViewer" | |
Storyboard.TargetProperty="(Grid.Row)"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="1" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ScrollViewer" | |
Storyboard.TargetProperty="(Grid.RowSpan)"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="1" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ScrollViewer" | |
Storyboard.TargetProperty="Margin"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="0,20,0,0" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="*" /> | |
</Grid.RowDefinitions> | |
<ScrollViewer x:Name="ScrollViewer" | |
Grid.RowSpan="2" | |
HorizontalScrollMode="Auto" | |
HorizontalScrollBarVisibility="Auto" | |
VerticalScrollMode="Disabled" | |
VerticalScrollBarVisibility="Disabled" | |
HorizontalSnapPointsAlignment="Near" | |
HorizontalSnapPointsType="Optional" | |
VerticalSnapPointsAlignment="Near" | |
VerticalSnapPointsType="Optional" | |
ZoomMode="Disabled"> | |
<ItemsStackPanel x:Name="Panel" | |
Orientation="{TemplateBinding Orientation}" | |
CacheLength="20" /> | |
</ScrollViewer> | |
<Border x:Name="HeaderHost" | |
Grid.Row="0" | |
Padding="{TemplateBinding Padding}"> | |
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
FontSize="{ThemeResource HubHeaderThemeFontSize}" | |
FontWeight="{ThemeResource HubHeaderThemeFontWeight}" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
OpticalMarginAlignment="TrimSideBearings" | |
TextLineBounds="Tight" /> | |
</Border> | |
</Grid> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- Default style for HubSection --> | |
<Style TargetType="HubSection"> | |
<Setter Property="HorizontalAlignment" Value="Left" /> | |
<Setter Property="VerticalAlignment" Value="Stretch" /> | |
<Setter Property="HorizontalContentAlignment" Value="Left" /> | |
<Setter Property="VerticalContentAlignment" Value="Top" /> | |
<Setter Property="Padding" Value="40,40,40,44" /> | |
<Setter Property="IsTabStop" Value="False" /> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="HubSection"> | |
<Border Background="{TemplateBinding Background}" | |
BorderBrush="{TemplateBinding BorderBrush}" | |
BorderThickness="{TemplateBinding BorderThickness}"> | |
<Border.Resources> | |
<ControlTemplate x:Key="HeaderButtonTemplate" TargetType="Button"> | |
<Grid Background="Transparent"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource HubSectionHeaderPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="IsHeaderInteractiveMarker" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource HubSectionHeaderPointerOverForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource HubSectionHeaderPressedForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="IsHeaderInteractiveMarker" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource HubSectionHeaderPressedForegroundThemeBrush}" /> | |
</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="IsHeaderInteractiveMarker" | |
Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledForegroundThemeBrush}" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualWhite" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
<DoubleAnimation Storyboard.TargetName="FocusVisualBlack" | |
Storyboard.TargetProperty="Opacity" | |
To="1" | |
Duration="0" /> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused" /> | |
<VisualState x:Name="PointerFocused" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="IsHeaderInteractiveStates"> | |
<VisualState x:Name="HeaderInteractive"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="IsHeaderInteractiveMarker" | |
Storyboard.TargetProperty="Visibility"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="HeaderNonInteractive" /> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FlowDirectionStates"> | |
<VisualState x:Name="LeftToRight" /> | |
<VisualState x:Name="RightToLeft"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="IsHeaderInteractiveMarker" | |
Storyboard.TargetProperty="Text"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="  " /> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<StackPanel Orientation="Horizontal"> | |
<ContentPresenter x:Name="ContentPresenter" | |
Content="{TemplateBinding Content}" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
VerticalAlignment="Center" | |
OpticalMarginAlignment="TrimSideBearings" | |
TextLineBounds="Tight" /> | |
<TextBlock x:Name="IsHeaderInteractiveMarker" | |
VerticalAlignment="Center" | |
Visibility="Collapsed" | |
Text=" " | |
FontFamily="{ThemeResource SymbolThemeFontFamily}" | |
AutomationProperties.AccessibilityView="Raw" | |
OpticalMarginAlignment="TrimSideBearings" | |
TextLineBounds="Tight" /> | |
</StackPanel> | |
<Rectangle x:Name="FocusVisualWhite" | |
Margin="-5" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5" /> | |
<Rectangle x:Name="FocusVisualBlack" | |
Margin="-5" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5" /> | |
</Grid> | |
</ControlTemplate> | |
</Border.Resources> | |
<Grid Margin="{TemplateBinding Padding}" | |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="*" /> | |
</Grid.RowDefinitions> | |
<Rectangle x:Name="HubHeaderPlaceholder" Grid.Row="0" /> | |
<Button x:Name="HeaderButton" | |
Content="{TemplateBinding Header}" | |
ContentTemplate="{TemplateBinding HeaderTemplate}" | |
Template="{StaticResource HeaderButtonTemplate}" | |
Grid.Row="1" | |
Margin="{ThemeResource HubSectionHeaderThemeMargin}" | |
FontSize="{ThemeResource HubSectionHeaderThemeFontSize}" | |
FontWeight="{ThemeResource HubSectionHeaderThemeFontWeight}" /> | |
<ContentPresenter x:Name="ContentPresenter" | |
ContentTemplate="{TemplateBinding ContentTemplate}" | |
Grid.Row="2" /> | |
</Grid> | |
</Border> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- FRAMEWORK STYLES --> | |
<Style x:Key="BaseTextBlockStyle" TargetType="TextBlock"> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}"/> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/> | |
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" /> | |
<Setter Property="TextTrimming" Value="CharacterEllipsis"/> | |
<Setter Property="TextWrapping" Value="Wrap"/> | |
<Setter Property="Typography.StylisticSet20" Value="True"/> | |
<Setter Property="Typography.DiscretionaryLigatures" Value="True"/> | |
<Setter Property="Typography.CaseSensitiveForms" Value="True"/> | |
<Setter Property="LineHeight" Value="20"/> | |
<Setter Property="LineStackingStrategy" Value="BlockLineHeight"/> | |
<Setter Property="TextLineBounds" Value="TrimToBaseline"/> | |
<Setter Property="OpticalMarginAlignment" Value="TrimSideBearings"/> | |
</Style> | |
<Style x:Key="HeaderTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}"> | |
<Setter Property="FontSize" Value="56"/> | |
<Setter Property="FontWeight" Value="Light"/> | |
<Setter Property="LineHeight" Value="40"/> | |
</Style> | |
<Style x:Key="SubheaderTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}"> | |
<Setter Property="FontSize" Value="26.667"/> | |
<Setter Property="FontWeight" Value="Light"/> | |
<Setter Property="LineHeight" Value="30"/> | |
</Style> | |
<Style x:Key="TitleTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}"> | |
<Setter Property="FontWeight" Value="SemiBold"/> | |
</Style> | |
<Style x:Key="SubtitleTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}"> | |
<Setter Property="FontWeight" Value="Normal"/> | |
</Style> | |
<Style x:Key="BodyTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}"> | |
<Setter Property="FontWeight" Value="SemiLight"/> | |
</Style> | |
<Style x:Key="CaptionTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}"> | |
<Setter Property="FontSize" Value="12"/> | |
<Setter Property="FontWeight" Value="Normal"/> | |
</Style> | |
<Style x:Key="BaseRichTextBlockStyle" TargetType="RichTextBlock"> | |
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}"/> | |
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/> | |
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" /> | |
<Setter Property="TextTrimming" Value="CharacterEllipsis"/> | |
<Setter Property="TextWrapping" Value="Wrap"/> | |
<Setter Property="Typography.StylisticSet20" Value="True"/> | |
<Setter Property="Typography.DiscretionaryLigatures" Value="True"/> | |
<Setter Property="Typography.CaseSensitiveForms" Value="True"/> | |
<Setter Property="LineHeight" Value="20"/> | |
<Setter Property="LineStackingStrategy" Value="BlockLineHeight"/> | |
<Setter Property="TextLineBounds" Value="TrimToBaseline"/> | |
<Setter Property="OpticalMarginAlignment" Value="TrimSideBearings"/> | |
</Style> | |
<Style x:Key="BodyRichTextBlockStyle" TargetType="RichTextBlock" BasedOn="{StaticResource BaseRichTextBlockStyle}"> | |
<Setter Property="FontWeight" Value="SemiLight"/> | |
</Style> | |
<Style x:Key="TextBlockButtonStyle" TargetType="ButtonBase"> | |
<Setter Property="MinWidth" Value="0"/> | |
<Setter Property="MinHeight" Value="0"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ButtonBase"> | |
<Grid Background="Transparent"> | |
<ContentPresenter x:Name="Text" Content="{TemplateBinding Content}" /> | |
<Rectangle | |
x:Name="FocusVisualWhite" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="1.5"/> | |
<Rectangle | |
x:Name="FocusVisualBlack" | |
IsHitTestVisible="False" | |
Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" | |
StrokeEndLineCap="Square" | |
StrokeDashArray="1,1" | |
Opacity="0" | |
StrokeDashOffset="0.5"/> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ApplicationPointerOverForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ApplicationPressedForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ApplicationPressedForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="FocusVisualWhite" Storyboard.TargetProperty="Opacity"/> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="FocusVisualBlack" Storyboard.TargetProperty="Opacity"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused"/> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="CheckStates"> | |
<VisualState x:Name="Checked"/> | |
<VisualState x:Name="Unchecked"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text" Storyboard.TargetProperty="Foreground"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ApplicationSecondaryForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Indeterminate"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<Style x:Key="SettingsFlyoutSectionStyle" TargetType="StackPanel"> | |
<Setter Property="Margin" Value="0,0,0,39"/> | |
</Style> | |
<Style x:Key="NavigationBackButtonNormalStyle" TargetType="Button"> | |
<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="Button"> | |
<Grid Background="Transparent" x:Name="RootGrid"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="Ellipse"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPointerOverBackgroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="Content"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPointerOverForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="Ellipse"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="Ellipse"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="Content"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPressedForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RootGrid" Storyboard.TargetProperty="Visibility"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisualWhite"/> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisualBlack"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused"/> | |
<VisualState x:Name="PointerFocused"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid | |
Height="41" | |
Width="41"> | |
<Ellipse | |
x:Name="Ellipse" | |
Fill="{ThemeResource AppBarItemBackgroundThemeBrush}" | |
Stroke="{ThemeResource AppBarItemForegroundThemeBrush}" | |
StrokeThickness="2" | |
UseLayoutRounding="False" /> | |
<ContentPresenter | |
x:Name="Content" | |
Foreground="{TemplateBinding Foreground}" | |
HorizontalAlignment="Stretch" | |
VerticalAlignment="Stretch"> | |
<PathIcon Data="F1 M 17.4126,18L 24.0752,11L 17.6558,11L 8.77931,20.4678L 8.77931,20.5322L 17.6558,30L 24.0752,30L 17.4126,23L 32,23L 32,18L 17.4126,18 Z " /> | |
</ContentPresenter> | |
</Grid> | |
<Rectangle x:Name="FocusVisualWhite" IsHitTestVisible="False" Opacity="0" StrokeDashOffset="1.5" StrokeEndLineCap="Square" Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" StrokeDashArray="1,1"/> | |
<Rectangle x:Name="FocusVisualBlack" IsHitTestVisible="False" Opacity="0" StrokeDashOffset="0.5" StrokeEndLineCap="Square" Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" StrokeDashArray="1,1"/> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<Style x:Key="NavigationBackButtonSmallStyle" TargetType="Button"> | |
<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="Button"> | |
<Grid Background="Transparent" x:Name="RootGrid"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"/> | |
<VisualState x:Name="PointerOver"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="Ellipse"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPointerOverBackgroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="Content"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPointerOverForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="Ellipse"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="Ellipse"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="Content"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource AppBarItemPressedForegroundThemeBrush}"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RootGrid" Storyboard.TargetProperty="Visibility"> | |
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/> | |
</ObjectAnimationUsingKeyFrames> | |
</Storyboard> | |
</VisualState> | |
</VisualStateGroup> | |
<VisualStateGroup x:Name="FocusStates"> | |
<VisualState x:Name="Focused"> | |
<Storyboard> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisualWhite"/> | |
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisualBlack"/> | |
</Storyboard> | |
</VisualState> | |
<VisualState x:Name="Unfocused"/> | |
<VisualState x:Name="PointerFocused"/> | |
</VisualStateGroup> | |
</VisualStateManager.VisualStateGroups> | |
<Grid | |
Height="30" | |
Width="30"> | |
<Ellipse | |
x:Name="Ellipse" | |
Fill="{ThemeResource AppBarItemBackgroundThemeBrush}" | |
Stroke="{ThemeResource AppBarItemForegroundThemeBrush}" | |
StrokeThickness="2" | |
UseLayoutRounding="False" /> | |
<ContentPresenter | |
x:Name="Content" | |
Foreground="{TemplateBinding Foreground}" | |
HorizontalAlignment="Stretch" | |
VerticalAlignment="Stretch"> | |
<PathIcon Data="F1 M 13.2739,7.99999L 17.4531,7.99975L 12.3418,12.9999L 23,12.9999L 23,15.9999L 12.3418,15.9999L 17.4531,20.9997L 13.2739,21L 6.87055,14.4739L 13.2739,7.99999 Z" /> | |
</ContentPresenter> | |
</Grid> | |
<Rectangle x:Name="FocusVisualWhite" IsHitTestVisible="False" Opacity="0" StrokeDashOffset="1.5" StrokeEndLineCap="Square" Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}" StrokeDashArray="1,1"/> | |
<Rectangle x:Name="FocusVisualBlack" IsHitTestVisible="False" Opacity="0" StrokeDashOffset="0.5" StrokeEndLineCap="Square" Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}" StrokeDashArray="1,1"/> | |
</Grid> | |
</ControlTemplate> | |
</Setter.Value> | |
</Setter> | |
</Style> | |
<!-- END FRAMEWORK STYLES --> | |
</ResourceDictionary> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment