<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <SolidColorBrush Color="White" x:Key="text_Brush"/>
    <Style x:Key="captionStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource text_Brush}"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="5,0,7,0"/>
    </Style>
    
    <Style x:Key="inputStyle" TargetType="FrameworkElement">
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="0,5,3,5"/>
        <Setter Property="Width" Value="90"/>
    </Style>
    
    <Style x:Key="readonlyValueStyle" TargetType="TextBlock" BasedOn="{StaticResource inputStyle}">
        <Setter Property="Foreground" Value="{StaticResource text_Brush}"/>
    </Style>
    
    <Style x:Key="captionInputContainer" TargetType="StackPanel">
        <Setter Property="Orientation" Value="Horizontal"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
    </Style>
    
    <Style x:Key="sliderValueStyle" TargetType="TextBlock">
        <Setter Property="MinWidth" Value="30"/>
        <!--<Setter Property="DockPanel.Dock" Value="Right"/>-->
        <Setter Property="Foreground" Value="{StaticResource text_Brush}"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="5,0,0,0"/>
    </Style>
    
    <Style x:Key="sliderStyle" TargetType="Slider">
        <!--<Setter Property="IsMoveToPointEnabled" Value="True"/>-->
    </Style>

    <Style x:Key="colorComboStyle" TargetType="ComboBox" BasedOn="{StaticResource inputStyle}">
        <!--<Setter Property="ItemsSource">
            <Setter.Value>
                <x:Array Type="Brush">
                    <SolidColorBrush Color="Red"/>
                    <SolidColorBrush Color="Orange"/>
                    <SolidColorBrush Color="Yellow"/>
                    <SolidColorBrush Color="Green"/>
                    <SolidColorBrush Color="Blue"/>
                    <SolidColorBrush Color="LightBlue"/>
                    <SolidColorBrush Color="Brown"/>
                    <SolidColorBrush Color="White"/>
                    <SolidColorBrush Color="Black"/>
                </x:Array>
            </Setter.Value>
        </Setter>-->
        <Setter Property="ItemTemplate">
            <Setter.Value>
                <DataTemplate>
                    <Border Background="{Binding}" Margin="2" Height="10" />
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
    </Style>
    
</ResourceDictionary>