<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:AppStudio.Controls"
    xmlns:html2xaml="using:AppStudio.Controls.Html2Xaml">

    <!-- ImageButton Style -->
    <Style x:Key="ImageButtonStyle" TargetType="Button">
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Background="Transparent">
                        <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0" Margin="0">
                            <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Action Button Styles -->
    <Style x:Key="MailActionButton" TargetType="Button">
        <Setter Property="Foreground" Value="{StaticResource DescriptionForeground}" />
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Width="{TemplateBinding Width}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="1,5"
                                Data="M0,4.0800388L0.030031017,4.0800388 12.610706,16.409995 26.621516,30.149985 40.642334,16.409995 53.223011,4.0800388 
						                53.333001,4.0800388 53.333001,39.080039 0,39.080039z M3.1698808,0L26.660885,0 50.161892,0 38.411389,11.791528 
						                26.660885,23.573054 14.920383,11.791528z"
                                Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Grid.Column="1" Margin="12,0,0,0" Padding="0" VerticalAlignment="Center" Style="{StaticResource RichDescriptionStyle}"
                                       FontStyle="{TemplateBinding FontStyle}"  FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" 
                                       MaxLines="2" IsTextSelectionEnabled="False" IsTextScaleFactorEnabled="False" html2xaml:Properties.Html="{TemplateBinding Content}" html2xaml:Properties.ContainsCrlf="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="UrlActionButton" TargetType="Button">
        <Setter Property="Foreground" Value="{StaticResource DescriptionForeground}" />
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Width="{TemplateBinding Width}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Data="M11.814106,17.63924C12.294743,17.643737 12.774926,17.697153 13.246112,17.799088 12.257114,20.58106 10.701117,22.492042 10.118118,23.145035L5.4621258,27.488992C4.6601272,28.240984,4.6321273,29.485971,5.3961258,30.272963L5.9461246,30.831959C6.7131238,31.619949,7.9871216,31.648951,8.7941203,30.899958L13.668112,26.354003C14.91611,25.381013 16.981106,24.467022 19.002103,23.502031 19.479102,25.698009 18.836103,28.072986 17.053106,29.739969L12.137114,34.320923C9.3981192,36.872898,5.0611262,36.774899,2.4481306,34.096926L1.8991318,33.53693C-0.71586418,30.856958,-0.61886406,26.62,2.1191311,24.068026L7.0361233,19.481072C8.3751831,18.231084,10.097544,17.62318,11.814106,17.63924z M23.843136,12.102414C24.256119,12.112393 24.665353,12.275876 24.972333,12.590391 25.588338,13.221373 25.566336,14.215394 24.920363,14.816469L15.269716,23.819416C14.626734,24.419393 13.605775,24.395467 12.990777,23.764484 12.373795,23.135455 12.397812,22.137406 13.04177,21.538405L22.691441,12.535459C23.01342,12.235959,23.430153,12.092435,23.843136,12.102414z M30.832334,0.0018930435C32.58533,0.042516708,34.323077,0.73676014,35.632075,2.0752468L36.178075,2.6372414C38.796069,5.317214,38.695069,9.5511715,35.958074,12.104146L31.043082,16.6891C29.337085,18.281084 27.013089,18.832078 24.868093,18.381083 25.241093,17.087096 25.794091,15.465112 27.781088,13.194135L32.61608,8.68418C33.418078,7.932188,33.447078,6.6862001,32.68208,5.9022083L32.134082,5.337214C31.366082,4.5532217,30.089084,4.523222,29.284085,5.2722144L24.529094,9.7051702C22.435097,11.119156 20.5681,11.826149 18.997103,12.336143 18.652103,10.238165 19.332102,8.0151868 21.0251,6.4352031L25.941092,1.8502493C27.31109,0.57426262,29.079335,-0.038731575,30.832334,0.0018930435z"
                                  Stretch="Uniform" Margin="1,5" Fill="{TemplateBinding Foreground}"
                                  RenderTransformOrigin="0.5,0.5" VerticalAlignment="Center" UseLayoutRounding="False"/>
                        </Border>
                        <RichTextBlock Grid.Column="1" Margin="12,0,0,0" Padding="0" VerticalAlignment="Center" Style="{StaticResource RichDescriptionStyle}"
                                       FontStyle="{TemplateBinding FontStyle}"  FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" 
                                       MaxLines="2" IsTextSelectionEnabled="False" IsTextScaleFactorEnabled="False" html2xaml:Properties.Html="{TemplateBinding Content}" html2xaml:Properties.ContainsCrlf="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="CallActionButton" TargetType="Button">
        <Setter Property="Foreground" Value="{StaticResource DescriptionForeground}" />
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Width="{TemplateBinding Width}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="4,0"
                                Data="M25.869653,36.256312C26.547123,36.269717,27.158489,36.69683,27.421037,37.327555L32.15192,48.785151C32.511989,49.66812,
						                32.091911,50.659083,31.221748,51.017073L27.17099,52.687014 21.139862,38.056529 25.170616,36.390589 25.180618,36.388587C25.410661,
						                36.293341,25.643829,36.251841,25.869653,36.256312z M5.0948703,2.2770528L10.984083,16.550895C8.9943635,17.371871 9.484287,
						                19.703879 10.884121,24.365819 11.793909,27.448796 13.223768,31.149747 15.113525,34.633719 16.4433,37.077727 17.953104,
						                39.374701 20.032776,38.513686L26.061985,53.146533C23.562324,53.86851 13.213759,53.482527 4.4949767,33.073739 -4.6938346,
						                11.579938 2.6551394,3.2250417 5.0948703,2.2770528z M10.903703,0.00037503242C11.58513,0.014766693,12.196259,0.44190931,12.458708,
						                1.0704348L17.047798,12.207893C17.417724,13.09093,16.98781,14.08197,16.117983,14.440985L12.078783,16.109053 6.169955,
						                1.8004654 10.209154,0.13239622 10.209154,0.13139653C10.441608,0.03664279,10.676561,-0.0044214725,10.903703,0.00037503242z" 
                                Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Grid.Column="1" Margin="12,0,0,0" Padding="0" VerticalAlignment="Center" Style="{StaticResource RichDescriptionStyle}"
                                       FontStyle="{TemplateBinding FontStyle}"  FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" 
                                       MaxLines="2" IsTextSelectionEnabled="False" IsTextScaleFactorEnabled="False" html2xaml:Properties.Html="{TemplateBinding Content}" html2xaml:Properties.ContainsCrlf="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="MusicActionButton" TargetType="Button">
        <Setter Property="Foreground" Value="{StaticResource DescriptionForeground}" />
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Width="{TemplateBinding Width}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="2"
                                Data="F1 M 0,0 L 0,56.48 0,156.48 C -5.6,155.04 -12,154.56 -18.72,155.68 -37.28,158.56 -50.72,171.2 -48.8,184
						                -46.88,196.8 -30.08,204.96 -11.52,202.08 6.08,199.36 19.04,187.68 18.72,175.68 L 18.72,175.68
                                        18.72,53.28 130.4,33.92 130.4,131.52 C 124.8,129.92 118.4,129.6 111.68,130.56 93.12,133.44 79.68,146.24 81.6,159.04
                                        83.68,171.84 100.32,179.84 118.88,176.96 136.48,174.24 149.6,162.72 149.12,150.56 L 149.12,150.56
                                        149.12,30.56 149.12,-7.04 149.12,-25.92 0,0 z"    
                                Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Grid.Column="1" Margin="12,0,0,0" Padding="0" VerticalAlignment="Center" Style="{StaticResource RichDescriptionStyle}"
                                       FontStyle="{TemplateBinding FontStyle}"  FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" 
                                       MaxLines="2" IsTextSelectionEnabled="False" IsTextScaleFactorEnabled="False" html2xaml:Properties.Html="{TemplateBinding Content}" html2xaml:Properties.ContainsCrlf="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="HomeActionButton" TargetType="Button">
        <Setter Property="Foreground" Value="{StaticResource DescriptionForeground}" />
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Width="{TemplateBinding Width}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="1,2,1,3"
                                Data="F1 M 0,0 L -108.64,81.76 -79.84,81.76 -79.84,165.44 -26.08,165.44 -26.08,112.16 25.92,112.16
						                25.92,165.44 79.68,165.44 79.68,81.76 108.48,81.76 0,0 z" 
                                Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Grid.Column="1" Margin="12,0,0,0" Padding="0" VerticalAlignment="Center" Style="{StaticResource RichDescriptionStyle}"
                                       FontStyle="{TemplateBinding FontStyle}"  FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" 
                                       MaxLines="2" IsTextSelectionEnabled="False" IsTextScaleFactorEnabled="False" html2xaml:Properties.Html="{TemplateBinding Content}" html2xaml:Properties.ContainsCrlf="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="SearchActionButton" TargetType="Button">
        <Setter Property="Foreground" Value="{StaticResource DescriptionForeground}" />
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Width="{TemplateBinding Width}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="2"
				                Data="F1M-185.925,-2026.96L-203.062,-2048.74C-197.485,-2056.51 -197.433,-2067.31 -203.64,-2075.2 -211.167,-2084.76 
						                -225.019,-2086.42 -234.588,-2078.89 -244.154,-2071.36 -245.808,-2057.51 -238.282,-2047.94 -231.986,-2039.95 -221.274,-2037.5 -212.337,-2041.31L-195.262,-2019.61 -185.925,-2026.96z M-231.201,-2053.51C-235.653,-2059.17 -234.674,-2067.36 -229.02,-2071.81 -223.36,-2076.26 -215.169,-2075.29 -210.721,-2069.63 -206.269,-2063.97 -207.245,-2055.78 -212.902,-2051.33 -218.559,-2046.88 -226.752,-2047.86 -231.201,-2053.51z"
                                Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Grid.Column="1" Margin="12,0,0,0" Padding="0" VerticalAlignment="Center" Style="{StaticResource RichDescriptionStyle}"
                                       FontStyle="{TemplateBinding FontStyle}"  FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" 
                                       MaxLines="2" IsTextSelectionEnabled="False" IsTextScaleFactorEnabled="False" html2xaml:Properties.Html="{TemplateBinding Content}" html2xaml:Properties.ContainsCrlf="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="PlayActionButton" TargetType="Button">
        <Setter Property="Foreground" Value="{StaticResource DescriptionForeground}" />
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Width="{TemplateBinding Width}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="6,2,2,2"
                				Data="F1M-224.553,1265L-246.174,1283.52 -267.792,1302.04 -267.792,1265 -267.792,1227.97 -246.174,1246.49 -224.553,1265z" 
                                Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Grid.Column="1" Margin="12,0,0,0" Padding="0" VerticalAlignment="Center" Style="{StaticResource RichDescriptionStyle}"
                                       FontStyle="{TemplateBinding FontStyle}"  FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" 
                                       MaxLines="2" IsTextSelectionEnabled="False" IsTextScaleFactorEnabled="False" html2xaml:Properties.Html="{TemplateBinding Content}" html2xaml:Properties.ContainsCrlf="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="LocationActionButton" TargetType="Button">
        <Setter Property="Foreground" Value="{StaticResource DescriptionForeground}" />
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Width="{TemplateBinding Width}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="3,1"
                                Data="M-1803.39,-939.073C-1813.86,-939.073 -1822.34,-930.589 -1822.34,-920.126 -1822.34,-916.45 -1821.29,-913.022 -1819.48,
						                -910.119L-1811.54,-893.476 -1803.39,-876.405 -1795.25,-893.476 -1787.31,-910.115C-1785.49,-913.021 -1784.45,-916.449 
						                -1784.45,-920.126 -1784.45,-930.589 -1792.93,-939.073 -1803.39,-939.073 M-1803.39,-909.656C-1808.8,-909.656 -1813.18,
						                -914.039 -1813.18,-919.448 -1813.18,-924.854 -1808.8,-929.24 -1803.39,-929.24 -1797.98,-929.24 -1793.6,-924.854 
						                -1793.6,-919.448 -1793.6,-914.039 -1797.98,-909.656 -1803.39,-909.656"             
                                Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Grid.Column="1" Margin="12,0,0,0" Padding="0" VerticalAlignment="Center" Style="{StaticResource RichDescriptionStyle}"
                                       FontStyle="{TemplateBinding FontStyle}"  FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" 
                                       MaxLines="2" IsTextSelectionEnabled="False" IsTextScaleFactorEnabled="False" html2xaml:Properties.Html="{TemplateBinding Content}" html2xaml:Properties.ContainsCrlf="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="GoToLocationActionButton" TargetType="Button">
        <Setter Property="Foreground" Value="{StaticResource DescriptionForeground}" />
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Width="{TemplateBinding Width}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="1"
                                Data="M2.925457,45.511272C10.741428,45.502132,18.48247,50.500496,21.411001,52.619106L20.564001,62.264 0,53.770779 2.1689987,
						                45.528053C2.4211235,45.517071,2.6733284,45.511566,2.925457,45.511272z M43.952001,43.591896C55.724,52.525307,62.183001,
						                53.360489,62.789,53.421089L64,61.205421 44.424,54.828056 44.396,54.156773z M40.450001,43.115406L40.919001,54.26947 
						                40.950001,54.990753 24.056,62.232002 24.903,52.581406z M32.606,36.478134L32.606,43.690895 25.280001,48.306694 
						                26.096001,39.011951z M59.924001,35.005447L62.139,49.239574C59.452001,49.095078 54.612,46.333439 50.368,43.548397 
						                53.144,35.378548 59.758,35.013317 59.924001,35.005447z M16.933001,22.882633L23.807001,25.352081 23.771,25.766691 
						                23.009001,34.433929C13.212002,29.659979,16.569,23.494579,16.933001,22.882633z M8.8899994,19.993994L13.364,21.601459C9.25,
						                30.491262,18.677,36.603863,22.634001,38.703369L21.754,48.719387C6.2389984,39.027451,3.1920013,41.771053,3.1920013,
						                41.771053L2.8279991,43.028809z M39.475,19.857397L40.272,38.861565 36.321,41.351074 36.242001,33.327076C35.919001,
						                31.54977,33.817,31.872763,33.817,31.872763L26.479,34.649315 27.239,25.997887 27.308001,25.195833z M42.948,19.718L46.328,
						                20.843176 48.265,28.147562 49.341001,32.198376 51.812,28.815638 55.427,23.871042 58.343,24.841661 59.338,31.237457C50.179,
						                32.483341,47.031,41.246284,47.031,41.246284L47.372,41.519039C45.925,40.510029,44.669,39.595921,43.755,38.916862z M53.679668,
						                4.3845386C51.646579,4.4165239 49.847217,5.8707604 49.457722,7.9460926 49.009715,10.31923 50.56956,12.603175 52.941967,
						                13.049685 55.314495,13.496293 57.60103,11.937162 58.046438,9.5640144 58.494245,7.1922369 56.93172,4.9063015 54.561872,
						                4.4602423 54.26532,4.4044247 53.970109,4.3799686 53.679668,4.3845386z M53.876964,0.00037478212C54.370403,0.0050314565 54.870273,
						                0.05313564 55.372135,0.14771746 59.963256,1.0122223 62.984005,5.4340973 62.119318,10.023382 61.814724,11.634684 61.072536,13.050685 60.038754,
						                14.176887L55.179538,20.820293 50.197683,27.634001 48.033721,19.474491 45.924445,11.519484C45.372331,10.095582 45.19521,8.50704 45.497207,
						                6.8932085 46.267306,2.8053779 49.85896,-0.037543376 53.876964,0.00037478212z" 
                                Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Grid.Column="1" Margin="12,0,0,0" Padding="0" VerticalAlignment="Center" Style="{StaticResource RichDescriptionStyle}"
                                       FontStyle="{TemplateBinding FontStyle}"  FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" 
                                       MaxLines="2" IsTextSelectionEnabled="False" IsTextScaleFactorEnabled="False" html2xaml:Properties.Html="{TemplateBinding Content}" html2xaml:Properties.ContainsCrlf="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="CustomRssButtonStyle" TargetType="Button">
        <Setter Property="Background" Value="{ThemeResource ButtonBackgroundThemeBrush}"/>
        <Setter Property="Foreground" Value="{ThemeResource ButtonForegroundThemeBrush}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="-5"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="FontFamily" Value="Segoe UI Symbol"/>
        <Setter Property="FontWeight" Value="SemiBold"/>
        <Setter Property="FontSize" Value="20"/>
        <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.TargetProperty="Opacity" Storyboard.TargetName="Border">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="0.85"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Border">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="0.75"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="Border">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBackgroundThemeBrush}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledForegroundThemeBrush}"/>
                                        </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>
                        <Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Margin="3">
                            <ContentPresenter x:Name="ContentPresenter" AutomationProperties.AccessibilityView="Raw" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTransitions="{TemplateBinding ContentTransitions}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Border>
                        <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>

    <ControlTemplate x:Key="ButtonControlTemplateNoPadding" TargetType="Button">
        <Grid x:Name="Grid" Background="Transparent">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualStateGroup.Transitions>
                        <VisualTransition From="Pressed" To="PointerOver">
                            <Storyboard>
                                <PointerUpThemeAnimation Storyboard.TargetName="Grid" />
                            </Storyboard>
                        </VisualTransition>
                        <VisualTransition From="PointerOver" To="Normal">
                            <Storyboard>
                                <PointerUpThemeAnimation Storyboard.TargetName="Grid" />
                            </Storyboard>
                        </VisualTransition>
                        <VisualTransition From="Pressed" To="Normal">
                            <Storyboard>
                                <PointerUpThemeAnimation Storyboard.TargetName="Grid" />
                            </Storyboard>
                        </VisualTransition>
                    </VisualStateGroup.Transitions>
                    <VisualState x:Name="Normal" />
                    <VisualState x:Name="PointerOver" />
                    <VisualState x:Name="Pressed">
                        <Storyboard>
                            <PointerDownThemeAnimation Storyboard.TargetName="Grid" />
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedForegroundThemeBrush}" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonPressedBackgroundThemeBrush}" />
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledForegroundThemeBrush}" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBorderThemeBrush}" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ButtonDisabledBackgroundThemeBrush}" />
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}">
                <ContentPresenter x:Name="ContentPresenter" Foreground="{TemplateBinding Foreground}"
                                    HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                    VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}"
                                    Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
                                    AutomationProperties.AccessibilityView="Raw"/>
            </Border>
        </Grid>
    </ControlTemplate>
</ResourceDictionary>
