Windows phone 7 如何使用RichTextBox在WP7中添加笑脸?

Windows phone 7 如何使用RichTextBox在WP7中添加笑脸?,windows-phone-7,Windows Phone 7,谁能告诉我有没有办法在RichTextBox中添加笑脸。如果可能,请提供链接或代码继续这将取决于您想要添加的笑脸,但有很多选项。 例如: <RichTextBox> <Paragraph>;)</Paragraph> <Paragraph>☺</Paragraph> <Paragraph>&#x236a;</Paragraph> </RichTextBox> 这有帮助

谁能告诉我有没有办法在RichTextBox中添加笑脸。如果可能,请提供链接或代码继续

这将取决于您想要添加的笑脸,但有很多选项。 例如:

<RichTextBox>
    <Paragraph>;)</Paragraph>
    <Paragraph>☺</Paragraph>
    <Paragraph>&#x236a;</Paragraph>
</RichTextBox>

这有帮助吗?您提供的链接列出了wp7中可用的笑脸,我需要的是在应用程序中实现此笑脸的代码。例如,如果用户键入:则其图形笑脸应显示在RichTextBoxneed'☺' 斯迈利。当用户类型;在文本框中,然后按enter键☺ 应显示在RichTextBox中。如何做到这一点,我给了InputScopeNameValue。作为文本框的inputscope聊天,我仍然只得到;。如何获得☺@莉迪亚,你得自己替换。也许在TextChanged事件上。我应该实现的逻辑我同意我想要的是如何获得☺. 我试过键盘上的所有组合,但都没能找到☺ 符号: