开发者

Wrap Panel Item separators

开发者 https://www.devze.com 2023-02-10 16:06 出处:网络
Is it possible to separate items in a wrap panel with a horizontal line and to have the line wrap with the items (i.e. line from top row last item to next row first item?

Is it possible to separate items in a wrap panel with a horizontal line and to have the line wrap with the items (i.e. line from top row last item to next row first item? The line width should be able to be set at run time, and the line that wraps should have additional开发者_StackOverflow feature of arrow heads showing direction of flow.


You could try using an ItemsControl which has it's ItemsPanelTemplate drawn as a WrapPanel. Then you could add your lines/arrows to the ItemsPanel.ItemTemplate

0

精彩评论

暂无评论...
验证码 换一张
取 消