WPF 平铺控制,如 Windows 8 开始菜单

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24630251/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 12:06:08  来源:igfitidea点击:

WPF Tile Control like Windows 8 Start Menu

c#wpfvb.netuser-interfacewindows-8

提问by Hamed Zakery Miab

So, does anyone knows a panel or a control which emulate Windows 8 Stat Menu Tile Panel?

那么,有人知道模拟 Windows 8 Stat Menu Tile Panel 的面板或控件吗?

with all of those features like SQUAD tiles or bigger ones?

具有所有这些功能,例如 SQUAD 磁贴或更大的磁贴?

Also i have seen this link on Stack overflow, but because of low reputation points, i could comment there that "IT DOESN'T WORK"

我也在堆栈溢出上看到了这个链接,但由于声誉点低,我可以在那里评论“它不起作用”

Emulates Windows 8 Start Menu Tile Layout Engine

模拟 Windows 8 开始菜单磁贴布局引擎

回答by Ouarzy

The answer is: no, there is no native control which emulate a tile.

答案是:不,没有模拟磁贴的本机控件。

Thus, basically, you could do it yourslef as explained in the link you provide: Emulates Windows 8 Start Menu Tile Layout Engine

因此,基本上,您可以按照您提供的链接中的说明自行完成:Emulates Windows 8 Start Menu Tile Layout Engine

If it does not work, you probably have something wrong because it is some classic XAML.

如果它不起作用,您可能有问题,因为它是一些经典的 XAML。

Another alternative could be to use a tiers-Library. There are some paying like DevExpress, Actiproor Telerik.

另一种选择是使用 tiers-Library。有一些像DevExpressActiproTelerik这样付费的。

But my recommandation would be: do not buy anything, but do not reinvent the Wheel either. You have some free nice Library available with Nugets like MahApps.Metroor ModernUI for WPFthat could greatly help you to create your own custom tile.

但我的建议是:不要买任何东西,但也不要重新发明轮子。您可以使用 Nuget 提供一些免费的漂亮库,例如MahApps.MetroModernUI for WPF,它们可以极大地帮助您创建自己的自定义贴。

Hope it helps.

希望能帮助到你。

回答by Ashik Ahmed

Telerik RAD Tile control can do it for you !

Telerik RAD Tile control 可以为您做到!