I have found many sources referencing a WPF class called FlowPanel
. There is even a MSDN entry about FlowLayoutPanel
. But my Intelisense can't find it when I type in my XAML:
<Flow
I can't find it in the toolbar neither开发者_运维知识库. What am I doing wrong?
FlowLayoutPanel is a WinForms control. You want the WPF equivalent, which is called WrapPanel.
FlowLayoutPanel is a WindowsForms control, so you will not find in in WPF. You can try the VirtualizingTilePanel, I think it has the functionality which you are looking for.
Edit: Also, I forgot about the Bag of Tricks. There is a neat class called AnimatingTilePanel.
精彩评论