我需要在我的ListBoxItems中加入分隔符,例如一些项目在分隔符下方,一些在上方。 例如: 这可以通过修改ListBox的ControlTemplate来实现。 <ScrollViewer> <StackPanel> <...