Browse Source

Fix compile error.

Steven Kirk 2 years ago
parent
commit
b9171f32f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      samples/ControlCatalog/Pages/ComboBoxPage.xaml.cs

+ 1 - 1
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;
         }
     }