How can I change the spellchecking language of a WPF textbox to french using XAML? I tried this but it doesn't work.
<TextBox AcceptsReturn="true" SpellCheck.IsEnabled="true" FontSize="12" BorderBrush="Blue" Height="100" Language="fr-fr" />
French is supposed to be one of the 4 supported languages for spellchecking in WPF so I don't understand why it doesn't work. I also 开发者_如何学运维tried fr-CA but it still won't work.
You need resource file of .Net Framework for the language you want to activate…
Try setting the XML language attribute. For me, this actually worked:
<TextBox AcceptsReturn="true" SpellCheck.IsEnabled="true" FontSize="12" BorderBrush="Blue" Height="100" xml:lang="fr" />
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论