DEV Community

PeterMilovcik
PeterMilovcik

Posted on

2 1

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.

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more