DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

PeterMilovcik
PeterMilovcik

Posted on

Simple Xamarin.Forms - Button Samples

Here are few samples for Xamarin.Forms buttons.

ButtonA

<Button Text="Button A" />
Enter fullscreen mode Exit fullscreen mode

ButtonB

<Button 
    Text="Button B"
    CornerRadius="20" />
Enter fullscreen mode Exit fullscreen mode

ButtonC

<Button
    Text="C"
    CornerRadius="30"
    HeightRequest="60"
    WidthRequest="60" />
Enter fullscreen mode Exit fullscreen mode

ButtonD

<Button
    CornerRadius="45"
    HeightRequest="90"
    WidthRequest="90"
    ImageSource="image.png" />
Enter fullscreen mode Exit fullscreen mode

ButtonE

<Button
    BackgroundColor="Transparent"
    ImageSource="image.png" />
Enter fullscreen mode Exit fullscreen mode

What kind of button is missing that you would like to see here too? Let me know.

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.