Hello,
Welcome to our Microsoft Q&A platform!
You can use a Frame
to wrap the ImageButton
, then set the Frame
's CornerRadius to the half of the Frame
's width or height like following code.
<Frame CornerRadius="100"
HeightRequest="200"
WidthRequest="200"
HorizontalOptions="Center"
Padding="0"
IsClippedToBounds="True">
<ImageButton Source="icon1.png"
BackgroundColor="Transparent"
HorizontalOptions="Center"
VerticalOptions="Center" />
</Frame>
Or Just set the ImageButton
's CornerRadius to the half of the ImageButton
's width or height
<ImageButton Source="icon1.png"
CornerRadius="100"
HeightRequest="200"
WidthRequest="200"
BackgroundColor="Transparent"
HorizontalOptions="Center"
VerticalOptions="Center" />
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.