Skip to content

Commit

Permalink
fix: return empty collection when expenting a IEnumerable
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpinedam committed Aug 20, 2020
1 parent e891a35 commit d97dc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Controls/ItemsControl/ItemsControl.cs
Expand Up @@ -309,7 +309,7 @@ internal IEnumerable GetItems()
{
return Items;
}
return null;
return Enumerable.Empty<object>();
}

#region ItemContainerStyle DependencyProperty
Expand Down

0 comments on commit d97dc73

Please sign in to comment.