<UserControl x:Class="FLY.Thick.Base.UI.CustomSection.UcSectionLanguage" 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:flyctrl="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary" 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 Styles.ParamSection.Border}"> <TextBlock Text="语言" /> </Border> <StackPanel > <StackPanel Orientation="Horizontal"> <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="语言" /> <flyctrl:ToggleButtonOnOff Grid.Column="4" Grid.Row="4" Grid.RowSpan="2" OnLabel="en" OffLabel="中文" IsChecked="{Binding IsEn}"/> </StackPanel> </StackPanel> </StackPanel> </StackPanel> </UserControl>