Materialdesigninxamltoolkit: How to create rounded corner button

Created on 14 Jan 2019  路  6Comments  路  Source: MaterialDesignInXAML/MaterialDesignInXamlToolkit

How can i create rounded corner button based on material design styles?

like this:
rounded corner button

question

Most helpful comment

I believe, there is a no property exposed for this. It's set to 2 by default.

Button Style: MaterialDesignTheme.Button.xaml#L56

All 6 comments

If you code with intellisence, try type "uni" or "corner", I 100% know what it exists, but I forgot property name.

I believe, there is a no property exposed for this. It's set to 2 by default.

Button Style: MaterialDesignTheme.Button.xaml#L56

With the addition of ButtonAssist.CornerRadius shouldn't this question be closed? Or at least updated?

Has ButtonAssist:CornerRadius not made it to the nuget release yet as I'm getting The property 'ButtonAssist.CornerRadius' does not exist in XML namespace 'http://materialdesigninxaml.net/winfx/xaml/themes'. on the latest version (2.5.1) targeting dotnet 4.8?

Sorry all, yes this will be fixed in the 2.6.0 release. I have adjusted the milestone.

@syserr0r you can download the latest preview nuget packages to get access to the new ButtonAssist.CornerRadius

Wow, thank-you for that fast response -- I'd just checked the commits and figured that out at the same time you posted this.

Was this page helpful?
0 / 5 - 0 ratings