<UserControl x:Class="FLY.Thick.Base.UI.CustomSection.UcSectionOsk"
             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:FLY.Thick.Base.UI.CustomSection"
             mc:Ignorable="d" >
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <StackPanel Orientation="Horizontal" >
        <Border Style="{StaticResource BorderStyle_paramSection}">
            <TextBlock Text="虚拟键盘" />
        </Border>
        <StackPanel >
            <StackPanel Orientation="Horizontal">
                <StackPanel Margin="{StaticResource ControlMargin}">
                    <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="虚拟键盘" />
                    <ToggleButton Style="{StaticResource ToggleButtonStyle1}" IsChecked="{Binding HaveOSK}" />
                </StackPanel>
                <StackPanel Margin="{StaticResource ControlMargin}" Visibility="{Binding HaveOSK, Converter={StaticResource visbilityconv}}">
                    <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="支持鼠标" />
                    <ToggleButton Style="{StaticResource ToggleButtonStyle1}" IsChecked="{Binding HaveOSK_mouse}" />
                </StackPanel>
            </StackPanel>
        </StackPanel>
    </StackPanel>
</UserControl>