ItemContainerGenerator.ContainerFromItem() returns null while VirtualizingStackPanel.IsVirtualizing=“False”

后端 未结 3 439
清歌不尽
清歌不尽 2021-01-13 13:47

I\'m facing a similar problem with this question however VirtualizingStackPanel.IsVirtualizing=\"False\" didn\'t solve my problem. Is there anyone facing the sa

3条回答
  •  有刺的猬
    2021-01-13 13:55

    try execute UpdateLayout() before this.ItemContainerGenerator.ContainerFromItem(item)

提交回复
热议问题