哪里可以找到这个 FlowPanel?
我发现许多来源引用了名为 FlowPanel
的 WPF 类。甚至还有一个关于 FlowLayoutPanel 的 MSDN 条目。但是当我输入 XAML 时,我的 Intelisense 找不到它:
<Flow
我在工具栏中也找不到它。我做错了什么?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
FlowLayoutPanel 是一个 WinForms 控件。您需要 WPF 等效项,称为 WrapPanel。
FlowLayoutPanel is a WinForms control. You want the WPF equivalent, which is called WrapPanel.
FlowLayoutPanel是一个WindowsForms控件,所以你不会在WPF中找到它。您可以尝试 VirtualizingTilePanel,我认为它具有您正在寻找的功能。
编辑:另外,我忘记了Bag of Tricks。有一个名为 AnimatingTilePanel 的简洁类。
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.