<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:VIZ.Framework.Common">
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/VIZ.Framework.Common.Resource;component/Style/TextBox/TextBox_None.xaml"></ResourceDictionary>
    </ResourceDictionary.MergedDictionaries>

    <Style TargetType="local:LabelValue">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"></Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:LabelValue">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="auto"></ColumnDefinition>
                            <ColumnDefinition Width="*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock VerticalAlignment="Center" Foreground="#aa000000"
                                   Text="{TemplateBinding Label}" Width="{TemplateBinding LabelWidth}"></TextBlock>
                        <TextBox Grid.Column="1" AcceptsReturn="False" IsReadOnly="True" TextWrapping="NoWrap"
                                 Text="{TemplateBinding Text}" VerticalContentAlignment="Center" Style="{StaticResource TextBox_None}"></TextBox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="local:LabelValue2">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"></Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:LabelValue2">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="auto"></ColumnDefinition>
                            <ColumnDefinition Width="*"></ColumnDefinition>
                            <ColumnDefinition Width="*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock VerticalAlignment="Center" Foreground="#aa000000"
                                   Text="{TemplateBinding Label}" Width="{TemplateBinding LabelWidth}"></TextBlock>
                        <TextBox Grid.Column="1" AcceptsReturn="False" IsReadOnly="True" TextWrapping="NoWrap"
                                 Text="{TemplateBinding Text1}" VerticalContentAlignment="Center" Style="{StaticResource TextBox_None}"></TextBox>
                        <TextBox Grid.Column="2" AcceptsReturn="False" IsReadOnly="True" TextWrapping="NoWrap"
                                 Text="{TemplateBinding Text2}" VerticalContentAlignment="Center" Style="{StaticResource TextBox_None}"></TextBox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>