Winforms / WPF应用程序中的颜色表情符号支持? [英] Color Emoji support in Winforms/WPF application?

查看:147
本文介绍了Winforms / WPF应用程序中的颜色表情符号支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想构建一个支持Windows 8.1的彩色表情符号的Windows应用程序。我似乎在任何地方都找不到实际所说的内容,但实际情况是这样,除非您要构建 Windows Store应用程序,否则这是不可能的,这当然需要付费的开发人员许可证。哦,天哪,这是iOS的又一次开发!

解决方案

从.NET 4.6.1开始,您不能开箱即用。颜色表情符号无法在WPF中使用。它们在XAML通用Windows应用程序上运行,但WPF则没有。



现在,您唯一的解决方案是执行一些UI层处理,为要以彩色显示的每个表情符号插入您选择的图像。这是一个糟糕的过程,但这就是您现在所拥有的。


I'd like to build a Windows application that supports Windows 8.1's color emoji. What I can't seem to find actually stated anywhere, but seems to be the case, is that this isn't possible unless you're building a "Windows Store" application, which of course requires a paid developer license. Oh boy, it's iOS development all over again!

So anyway, is there a way to develop in either WinForms or WPF which will allow color emoji while running on Windows 8.1?

解决方案

As of .NET 4.6.1, you can't out of the box. Color emojis don't work in WPF. They do on XAML Universal Windows apps, but WPF specifically they do not.

You only solution right now is to do some UI layer processing that inserts an image of your choice for every emoji you want to be displayed in color. It's a crappy process but that's all you got right now.

这篇关于Winforms / WPF应用程序中的颜色表情符号支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆