DEV Community

PeterMilovcik
PeterMilovcik

Posted on

Simple Xamarin.Forms - Button Samples

Here are few samples for Xamarin.Forms buttons.

ButtonA

<Button Text="Button A" />

ButtonB

<Button 
    Text="Button B"
    CornerRadius="20" />

ButtonC

<Button
    Text="C"
    CornerRadius="30"
    HeightRequest="60"
    WidthRequest="60" />

ButtonD

<Button
    CornerRadius="45"
    HeightRequest="90"
    WidthRequest="90"
    ImageSource="image.png" />

ButtonE

<Button
    BackgroundColor="Transparent"
    ImageSource="image.png" />

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

Discussion (0)