<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:sys="clr-namespace:System;assembly=mscorlib">

    <sys:Double x:Key="DetailsPage.Widget.MinHeight">160</sys:Double>
    <sys:Double x:Key="DetailsPage.Widget.MaxHeight">200</sys:Double>

    <sys:Double x:Key="DetailsPage.Widget.Title.MinWidth">160</sys:Double>
    <sys:Double x:Key="DetailsPage.Widget.Title.MaxWidth">200</sys:Double>

    <sys:Double x:Key="DetailsPage.Widget.Value.MinWidth">263</sys:Double>
    <sys:Double x:Key="DetailsPage.Widget.Value.MaxWidth">400</sys:Double>

    <Style x:Key="DetailsPage.Widget.Base">

        <Setter Property="Control.Margin"
                Value="10 0" />
        <Setter Property="Control.VerticalAlignment"
                Value="Center" />
        <Setter Property="Control.FontFamily"
                Value="Calibri" />
        <Setter Property="Control.FontSize"
                Value="14" />
        <Setter Property="TextBlock.LineStackingStrategy"
                Value="BlockLineHeight" />
        <Setter Property="TextBlock.TextWrapping"
                Value="Wrap" />
        <Setter Property="Control.Foreground"
                Value="{DynamicResource FontColor.DetailsPage.Widget}" />
        <Setter Property="Control.Background"
                Value="Transparent" />
        <Setter Property="Control.BorderThickness"
                Value="0" />
        <Setter Property="TextBox.IsReadOnly"
                Value="True" />
    </Style>

    <Style x:Key="DetailsPage.Widget.Title"
           BasedOn="{StaticResource DetailsPage.Widget.Base}">
        <Setter Property="Control.FontWeight"
                Value="Light" />
        <Setter Property="Control.Margin"
                Value="0 0 10 0" />
    </Style>

    <Style x:Key="DetailsPage.Widget.Value"
           BasedOn="{StaticResource DetailsPage.Widget.Base}">
        <Setter Property="Control.Margin"
                Value="10 0 5 0" />
        <Setter Property="Control.FontWeight"
                Value="Bold" />
        <Setter Property="Control.Cursor"
                Value="{DynamicResource Cursor.Copy}" />
        
        <Style.Triggers>
            <EventTrigger RoutedEvent="Control.MouseLeftButtonUp">
                <EventTrigger.Actions>
                    <BeginStoryboard>
                        <Storyboard>
                            <DoubleAnimation From="0.4"
                                             Duration="0:0:1"
                                             FillBehavior="Stop"
                                             Storyboard.TargetProperty="Opacity" />
                        </Storyboard>
                    </BeginStoryboard>
                </EventTrigger.Actions>
            </EventTrigger>
        </Style.Triggers>
    </Style>

</ResourceDictionary>