【发布时间】:2016-09-19 15:49:55
【问题描述】:
我基于 RichEditBox 控件为 Windows 应用商店应用程序 (WinRT) 开发文本编辑器。 RichEditBox 使用 ITextParagraphFormat 进行段落操作,使用 ListAlignment、ListLevelIndex 和其他属性进行项目符号和编号列表。 我没有找到将项目符号列表或编号列表插入 RichEditBox 的任何示例。 如何使用 ITextParagraphFormat 向 RichEditBox 添加列表?
【问题讨论】:
-
你解决了吗?
-
是的。谢谢。我为编号列表添加了
paragraphFormatting1.ListStart = 1;,一切正常。
标签: windows list windows-runtime uwp richeditbox