<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon">

    <Style x:Key="Basic.FunctionMarker.Base"
           TargetType="ico:AdaptableIcon">

        <Setter Property="PrimaryIconColor"
                Value="{DynamicResource Color.FunctionMarker}" />
        <Setter Property="HorizontalAlignment"
                Value="Left" />
        <Setter Property="IconHeight"
                Value="28" />
        <Setter Property="IconWidth"
                Value="28" />
        <Setter Property="BorderPadding"
                Value="10" />
        <Setter Property="Cursor"
                Value="Hand" />

        <Style.Triggers>

            <Trigger Property="IsMouseOver"
                     Value="True">
                <Setter Property="BorderPadding"
                        Value="9" />
            </Trigger>

            <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=SelectedInternIcon}"
                         Value="misc_functionBolt">
                <Setter Property="BorderPadding"
                        Value="7.5" />
            </DataTrigger>

            <MultiDataTrigger>
                <MultiDataTrigger.Conditions>
                    <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=SelectedInternIcon}"
                               Value="misc_functionBolt" />
                    <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsMouseOver}"
                               Value="True" />
                </MultiDataTrigger.Conditions>

                <Setter Property="BorderPadding"
                        Value="6" />
            </MultiDataTrigger>

        </Style.Triggers>

    </Style>

    <Style x:Key="Basic.FunctionMarker.Title"
           TargetType="ico:AdaptableIcon"
           BasedOn="{StaticResource Basic.FunctionMarker.Base}">

        <Setter Property="Margin"
                Value="-10 -10 10 -10" />
        <Setter Property="IconWidth"
                Value="55" />
        <Setter Property="IconHeight"
                Value="60" />
        <Setter Property="BorderPadding"
                Value="23.5" />

        <Setter Property="IconCornerRadius"
                Value="7.5 0 0 7.5" />

        <Style.Triggers>

            <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=IconName}"
                         Value="misc_functionBolt">
                <Setter Property="BorderPadding"
                        Value="23.5" />
            </DataTrigger>

            <Trigger Property="IsMouseOver"
                     Value="True">
                <Setter Property="BorderPadding"
                        Value="20" />

                <Setter Property="PrimaryIconColor"
                        Value="White" />
                <Setter Property="IconBackgroundColor"
                        Value="{DynamicResource Color.FunctionMarker}" />
            </Trigger>

        </Style.Triggers>

    </Style>

</ResourceDictionary>