Vijay Nirmal
Vijay Nirmal

Reputation: 5837

How to create a RichEditBox with support for Inking Like OneNote?

I want to create a RichEditBox with support for Inking Like OneNote. It should have features from both, like Text Formating and Ink editing.

Note: I have requested UWPCommunityToolkit to create a new control for this. If you would like to have that, please Upvote it in UserVoice

Upvotes: 5

Views: 255

Answers (1)

Sunteen Wu
Sunteen Wu

Reputation: 10627

It should have features from both, like Text Formating and Ink editing

RichEditBox have many relative APIs to execute the basic features as what you mentioned. For example, you can change the text formatting by ITextCharacterFormat. The official sample provide samples about changing the text bold, italic, color you can reference. You can bullet and numbering by setting the ITextParagraphFormat.ListType property for the ITextParagraphFormat. This thread provide sample for bullet and numbering for RichEditBox.

For inking, you may use the InkCanvas with InkToolbar. Inking can be edit, copy, delete and so on. Details please reference the SimpleInk official sample.

So before a powerful, combined control appeared, try the above controls and their APIs to implement your requirements.

Upvotes: 2

Related Questions