Creating Circular Buttons
Environment
Product | Progress® Telerik® UI for .NET MAUI Button |
Product Version | 0.2.0 |
Description
How can I create a circular Button based on the Button control for my Telerik UI for .NET MAUI project?
Solution
To create a circular button with the Telerik UI for .NET MAUI Button, adjust its Width
, Height
, and CornerRadius
properties in the following way:
- Set
Width
as equal toHeight
. - Set
CornerRadius
as half of theWidth
/Height
value.
The following example demonstrates how to implement the suggested approach.