Wednesday, November 16, 2016

ComboBox is extremely slow issue

Use VirtualizingStackPanel to improve performance.

<ComboBox Name="test" ItemsSource="{Binding}">
    <ComboBox.ItemsPanel>
        <ItemsPanelTemplate>
            <VirtualizingStackPanel />
        </ItemsPanelTemplate>
    </ComboBox.ItemsPanel>
</ComboBox>

No comments: