<UserControl x:Class="Microsoft.VisualStudio.FSharp.UIResources.QuickInfoOptionControl"
             x:ClassModifier="internal"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:Microsoft.VisualStudio.FSharp.UIResources"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="400">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="OptionPageStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <StackPanel>
                <GroupBox Header="{x:Static local:Strings.Navigation_links}">
                    <StackPanel>
                        <StackPanel>
                            <CheckBox x:Name="displayLinks" Content="{x:Static local:Strings.Show_navigation_links_as}"/>
                        </StackPanel>
                        <StackPanel x:Name="underlineStyle" Margin="15 0 0 0">
                            <RadioButton x:Name="solid" Content="{x:Static local:Strings.Solid_underline}" IsEnabled="{Binding IsChecked, ElementName=displayLinks}"/>
                            <RadioButton x:Name="dot" Content="{x:Static local:Strings.Dot_underline}" IsEnabled="{Binding IsChecked, ElementName=displayLinks}"/>
                            <RadioButton x:Name="dash" Content="{x:Static local:Strings.Dash_underline}" IsEnabled="{Binding IsChecked, ElementName=displayLinks}"/>
                        </StackPanel>
                    </StackPanel>
                </GroupBox>
                <GroupBox Header="{x:Static local:Strings.Formatting}">
                    <StackPanel Orientation="Horizontal" ToolTip="{x:Static local:Strings.Tooltip_preferred_description_width_in_characters}">
                        <Label Content="{x:Static local:Strings.Preferred_description_width_in_characters}" />
                        <TextBox x:Name="descriptionWidth" Width="40" VerticalContentAlignment="Center" />
                    </StackPanel>
                </GroupBox>
            </StackPanel>
        </ScrollViewer>
    </Grid>
</UserControl>
