This question is locked. New answers and comments are not allowed.
Hello,
My RadComboBox display a list of language and I need to select one from C#. This is my code :
<telerik:RadComboBox x:Name="RadComboBoxLstLg" ItemsSource="{StaticResource languages}" DisplayMemberPath="Name" />And this is my class :
public class AvailLanguage : List<Language> { public AvailLanguage() { this.Add(new Language() { Name="English", Code="en-US" }); this.Add(new Language() { Name = "Français (Canada)", Code = "fr-CA" }); this.Add(new Language() { Name = "Spanish", Code = "es-ES" }); } } public class Language { public string Name { get; set; } public string Code { get; set; } }Someone can tell (when my XAML page is loaded) how I can display in my RadComboBox I specific language by example es-ES.