1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
<controls:ChildWindow x:Class="ClientAdmin.Views.CWGestionLangue"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
xmlns:lang="clr-namespace:THALES.SCIPIO.ClientAdmin.Resources.GestionnaireLangue"
Width="400" Height="300" Style="{StaticResource ChildWindowStyle}">
<!--Title="{Binding Path=Resource.strTitreGestionLangue, Source={StaticResource Lang}}"-->
<controls:ChildWindow.Resources>
<lang:GestionLangue x:Key="Lang" />
</controls:ChildWindow.Resources>
<Grid x:Name="LayoutRoot" Margin="2">
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition/>
</Grid.RowDefinitions>
<ComboBox x:Name="ComboLangue" Height="Auto" Style="{StaticResource ComboBoxStyle}" FontFamily="/SCIPIO.ClientAdmin;Component/Fonts/Fonts.zip#Arial Narrow" FontSize="18.667">
<ComboBox.Resources>
<DataTemplate x:Key="DataTemplateComboGroupe">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="0.5*"/>
</Grid.RowDefinitions>
<TextBlock x:Name="lblLibelleLangue" TextWrapping="Wrap" Text="{Binding Libelle}" FontFamily="/SCIPIO.ClientAdmin;Component/Fonts/Fonts.zip#Arial Narrow" FontSize="18.667" FontWeight="Bold">
<TextBlock.Foreground>
<SolidColorBrush Color="{StaticResource TypoColor1}"/>
</TextBlock.Foreground>
</TextBlock>
</Grid>
</DataTemplate>
</ComboBox.Resources>
<ComboBox.ItemTemplate>
<StaticResource ResourceKey="DataTemplateComboGroupe"/>
</ComboBox.ItemTemplate>
</ComboBox>
<Button x:Name="CancelButton" Content="{Binding Path=Resource.strCancel, Source={StaticResource Lang}}" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
<Button x:Name="OKButton" Content="{Binding Path=Resource.strOK, Source={StaticResource Lang}}" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
</Grid>
</controls:ChildWindow> |
Partager