Browse Source

Fix compile error.

pull/10590/head
Steven Kirk 3 years ago
parent
commit
b9171f32f2
  1. 2
      samples/ControlCatalog/Pages/ComboBoxPage.xaml.cs

2
samples/ControlCatalog/Pages/ComboBoxPage.xaml.cs

@ -18,7 +18,7 @@ namespace ControlCatalog.Pages
{
AvaloniaXamlLoader.Load(this);
var fontComboBox = this.Get<ComboBox>("fontComboBox");
fontComboBox.Items = FontManager.Current.SystemFonts;
fontComboBox.ItemsSource = FontManager.Current.SystemFonts;
fontComboBox.SelectedIndex = 0;
}
}

Loading…
Cancel
Save