Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 943
Firoz Avatar asked Feb 27 '23 23:02

Firoz


1 Answers

How about putting a border around it?

 <Border BorderThickness="2" CornerRadius="6">
 <your:RichTextBox />
 </Border>
like image 200
Klaus Byskov Pedersen Avatar answered Mar 06 '23 23:03

Klaus Byskov Pedersen