Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以用水平线分隔换行面板中的项目并用项目换行(即从顶行最后一项到下一行第一项的行?线宽应该能够在运行时设置,并且包裹的线应该具有箭头的附加特征,以显示流动方向。
您可以尝试使用将ItemsControl其ItemsPanelTemplate绘制为 WrapPanel 的。然后你可以将你的线条/箭头添加到ItemsPanel.ItemTemplate
ItemsControl
ItemsPanelTemplate
ItemsPanel.ItemTemplate