如何在后台代码中将Unicode字符设置为TextBlock的文本?

问题描述 投票:0回答:1

我决定使用三角形箭头字符内的向上白色箭头,如下所述:http://www.fileformat.info/info/unicode/char/1f895/index.htm

下面的vb.net代码没问题。

TextBlock1.Text = Convert.ToChar(&H25B2)

但是遵循vb.net代码并不好。

TextBlock1.Text = Convert.ToChar(🢕)

任何解决方案?

c# wpf vb.net winforms unicode
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.