0

changing the opacity of the RichEdibBox's SelectionHighlightColor is not working, this.editor.SelectionHighlightColor.Opacity = 0.1; enter image description here

5
  • Why do you want to change the opacity for the selected Text color? The Highlight color is used to indicate the text and make it more obvious to the user which content has been selected. Commented Jul 13, 2023 at 2:26
  • @RoyLi-MSFT, he is asking about how to change the selectionHighlight color's opacity ?If he try's to change the opacity by RichEditBox.SelectionHighlightColor.Opacity = 0.1,it didn't work !! Commented Jul 17, 2023 at 5:29
  • Have you checked my reply? Does it make sense to you? Commented Jul 19, 2023 at 3:02
  • @RoyLi-MSFT understood what you said but i had requirement of reducing opacity Commented Jul 24, 2023 at 14:31
  • 1
    As I mentioned, the opacity for the selected text can't be changed, this is by design. Commented Jul 26, 2023 at 1:38

1 Answer 1

0

This behavior is expected, you can't change the Opacity of the SelectionHighlightColor for RichEditBox and TextBox. This is by design. The document doesn't mentioned this but I've talked with the team about this.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.