MaterialDesignActionAccentToggleButton corner radius #3584
-
Is it possible in an easy way to change corner radius of the MaterialDesignActionAccentToggleButton? |
Beta Was this translation helpful? Give feedback.
Answered by
nicolaihenriksen
Jun 19, 2024
Replies: 1 comment
-
@osekj I don't believe so. Currently the template is not actually using a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
osekj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@osekj I don't believe so. Currently the template is not actually using a
UIElement
with aCornerRadius
property internally. It is basically using a rectangularGrid
(fillingWidth
andHeight
of the control) and clipping it. You can see here that the clipping is very much hardcoded to get the circular/elliptical shape.