aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml
blob: 0ca262736f6ff9876587e8c3ea46b0b1efa7a216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:controls="clr-namespace:Tango.Touch.Controls"
                    xmlns:components="clr-namespace:Tango.Touch.Components"
                    xmlns:local="clr-namespace:Tango.Touch.Styles">

    <Style TargetType="{x:Type controls:TouchIconButton}" x:Key="TangoRoundTouchIconButton">
        <Setter Property="Background" Value="{StaticResource TangoMidAccentBrush}"></Setter>
        <Setter Property="RenderOptions.EdgeMode" Value="Unspecified"></Setter>
        <Setter Property="RenderOptions.BitmapScalingMode" Value="Fant"></Setter>
        <Setter Property="CornerRadius" Value="50"></Setter>
        <Setter Property="RippleCentered" Value="True"></Setter>
        <Setter Property="RippleFactor" Value="2"></Setter>
        <Setter Property="Width" Value="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}"></Setter>
    </Style>
    
</ResourceDictionary>