Converters updated as MarkupExtension
This commit is contained in:
@@ -15,9 +15,6 @@
|
||||
|
||||
<ScrollView>
|
||||
<StackPanel Margin="24,14,24,24">
|
||||
<StackPanel.Resources>
|
||||
<conv:LanguageCodeToNameConverter x:Key="LanguageCodeToNameConverter" />
|
||||
</StackPanel.Resources>
|
||||
<TextBlock u:Uids.Uid="SettingsPageTitle" Style="{StaticResource TitleTextBlockStyle}" Margin="0,0,0,10"/>
|
||||
|
||||
<!--App settings-->
|
||||
@@ -67,7 +64,7 @@
|
||||
<ComboBox ItemsSource="{x:Bind ViewModel.Languages}" SelectedItem="{x:Bind ViewModel.SelectedLanguage, Mode=TwoWay}">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate x:DataType="x:String">
|
||||
<TextBlock Text="{Binding Converter={StaticResource LanguageCodeToNameConverter}}"/>
|
||||
<TextBlock Text="{Binding Converter={conv:LanguageCodeToNameConverter}}"/>
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
|
||||
Reference in New Issue
Block a user