<SettingsFlyout
    x:Name="pageRoot"
    x:Class="FooEditor.GlobalSettingFlyout"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:FooEditor"
    xmlns:common="using:FooEditor.Common"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    x:Uid="GlobalSettingFlyout">
    <StackPanel x:Name="FlyoutContent" Margin="30,0,30,0">
        <TextBlock x:Uid="FontFamilyLabel" Margin="0,0,0,10"/>
        <ComboBox Name="FontFamilyCollection" SelectedItem="{Binding FontFamily,Mode=TwoWay}" Margin="0,0,0,10"/>
        <TextBlock x:Uid="FontSizeLabel" Margin="0,0,0,10"/>
        <Slider Value="{Binding FontSize,Mode=TwoWay}" Minimum="1" Maximum="72"/>
        <TextBlock x:Uid="TabCharLabel" Margin="0,0,0,10"/>
        <Slider Value="{Binding TabChar,Mode=TwoWay}" Minimum="1" Maximum="32"/>
        <ToggleSwitch IsOn="{Binding IsRTL,Mode=TwoWay}" x:Uid="EnableRTL" HorizontalAlignment="Stretch"/>
        <ToggleSwitch IsOn="{Binding ShowRuler,Mode=TwoWay}" x:Uid="ShowRuler" HorizontalAlignment="Stretch"/>
        <ToggleSwitch IsOn="{Binding ShowLineNumber,Mode=TwoWay}" x:Uid="ShowLineNumber" HorizontalAlignment="Stretch"/>
        <ToggleSwitch IsOn="{Binding ShowLineMarker,Mode=TwoWay}" x:Uid="ShowCaretLine" HorizontalAlignment="Stretch"/>
        <ToggleSwitch IsOn="{Binding ShowFullSpace,Mode=TwoWay}" x:Uid="ShowFullSpace" HorizontalAlignment="Stretch"/>
        <ToggleSwitch IsOn="{Binding ShowTab,Mode=TwoWay}" x:Uid="ShowTab" HorizontalAlignment="Stretch"/>
        <ToggleSwitch IsOn="{Binding ShowLineBreak,Mode=TwoWay}" x:Uid="ShowLineBreak" HorizontalAlignment="Stretch"/>
        <ToggleSwitch IsOn="{Binding ShowFoundPattern,Mode=TwoWay}" x:Uid="ShowFoundPattern" HorizontalAlignment="Stretch"/>
        <ToggleSwitch IsOn="{Binding IndentBySpace,Mode=TwoWay}" x:Uid="IndentBySpace" HorizontalAlignment="Stretch"/>
        <TextBlock x:Uid="FontFamilyLabel" Margin="0,0,0,10"/>
        <TextBlock x:Uid="LineBreakLabel" Margin="0,0,0,10"/>
        <ComboBox Name="LineBreakMethodCollection" SelectedItem="{Binding LineBreakMethod,Mode=TwoWay}" Margin="0,0,0,10">
            <ComboBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Converter={StaticResource LineBreakMethodConverter}}"/>
                </DataTemplate>
            </ComboBox.ItemTemplate>
        </ComboBox>
        <TextBlock x:Uid="LineBreakCountLabel" Margin="0,0,0,10"/>
        <TextBox Text="{Binding LineBreakCount,Mode=TwoWay}" Margin="0,0,0,10"/>
    </StackPanel>
</SettingsFlyout>
