Customize CommandBarFlyout with Proofing

Noah Wood 46 Reputation points
2021-02-01T01:24:14.69+00:00

I have a UWP app with a RichEditBox. I am trying to customize the ContextFlyout for the control. From what I can determine I can use the default TextCommandBarFlyout and add actions, or create a new CommandBarFlyout. What I want to accomplish is a TextCommandBar "lite." I want to remove some items (e.g. Bold and Italic) and keep the proofing. However I cannot seem to find a way to remove actions from TextCommandBarFlyout nor can I find a way to add proofing to a custom Flyout. Am I missing something?

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Roy Li - MSFT 33,931 Reputation points Microsoft Vendor
    2021-02-01T06:55:17.763+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Yes, currently, there is no way to customize the TextControlCommandBarContextFlyout which is used in RichEditBox as ContextFlyout. And another thing is that the Proofing function is implemented by the system and you could not customize it as well. If you want to use a custom ContextFlyout to replace the default TextControlCommandBarContextFlyout, then you will not be able to use the Proofing function.

    Thank you.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.