loading...

Simple Xamarin.Forms - Button Samples

petermilovcik profile image PeterMilovcik ・1 min read

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.

Posted on by:

petermilovcik profile

PeterMilovcik

@petermilovcik

Software engineer passionate about continuous learning and improvement.

Discussion

pic
Editor guide