microsoft-ui-xaml: RichTextBlock theme bug

https://github.com/HppZ/RichTextBlockThemeBug

The pointerover color of HyperLink in RichTextBlock is not correct. it is correct once you switch RequestedTheme to Light and back to Dark.

image image

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 26 (10 by maintainers)

Most upvoted comments

<Style TargetType="local:RichText"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="local:RichText"> <RichTextBlock x:Name="RichTextBlock_Part"> <Paragraph /> </RichTextBlock> </ControlTemplate> </Setter.Value> </Setter> </Style>