I just create for demostartion a new app from scratch.
When I run it from debugger, works as inteded.
When I press Ctrl+F5 (Run without debugging) a release version, it crashes.
C# page code includes:
public class TestItem
{
public int Id { get; set; } = -1;
public string Name { get; set; } = string.Empty;
}
private ObservableCollection<TestItem> _Source = null;
public ObservableCollection<TestItem> Source
{
get
{
if (_Source == null)
{
_Source = new ObservableCollection<TestItem>();
for (int i = 0; i < 25; i++)
{
_Source.Add (new TestItem() { Id = i, Name = $"Name {i}");
}
}
return _Source;
}
}
XAML code
<Grid x:Name="MainGrid" >
<sfe:SfComboBox x:Name="TestComboBox" ItemsSource="{x:Bind Source}" DisplayMemberPath="Name" SelectionMode="Multiple"/>
</Grid>
Attachment: sftest_7f46e687.zip