I am trying to set rounded corner of TextBlock in xaml. But there is no such property.
TextBlock
xaml
TextBlock do not have such property, however you can do it like this using Rectangle's RadiusX and RadiusY property by binding the width and height of Rectangle to Textblock Width and height.
RadiusX
RadiusY
Rectangle
Textblock