How can we add rounded corners to images? #9980
-
In Avalonia, we can use the Even after wrapping the There are somehow no relevant information I can find regarding this. Am I not doing it the right way, or is this not possible in the current version of Avalonia? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Set Border ClipToBounds to true, so it can clip its children. |
Beta Was this translation helpful? Give feedback.
-
You can easily add the CornerRadius property to image like this:
|
Beta Was this translation helpful? Give feedback.
Set Border ClipToBounds to true, so it can clip its children.