ListBox is virtual by default?

后端 未结 1 906
无人及你
无人及你 2020-12-20 22:31

I have a WPF ListBox with some user cards inside.
When one of those user cards is created (in the ideal case, when the current user receives it\'s friend list from the n

1条回答
  •  感动是毒
    2020-12-20 23:12

    Set VirtualizingStackPanel.IsVirtualizing to false on the ListBox or set a normal StackPanel as the ListBox.ItemsPanel.

    0 讨论(0)
提交回复
热议问题