Search code examples
wpfwpf-controlsrichtextboxrounded-corners

Rounded Corner of RichTextBox in wpf


It is possible to make RichTextBox have corner radius in wpf. i know it can achive using ControlTemplate but how?

I hope some of you may provide me with a hint.


Solution

  • How about putting a border around it?

     <Border BorderThickness="2" CornerRadius="6">
     <your:RichTextBox />
     </Border>