Xamarin Forms: StatesButton Control

The default Button from Xamarin.Forms don't allow to set the states image resources for it, that is the reason that i decided to create a new button trying to keep all default button properties/methods/handlers with the three common states (normal, pressed and disable), the usage is very simple:

And the result is the next





Full Code Project:
https://github.com/AlejandroRuiz/StatesButton

Nuget Package:
https://www.nuget.org/packages/StatesButton.Forms


Comentarios

  1. Es posible que en lugar de una imagen sea un background color? Saludos

    ResponderEliminar
    Respuestas
    1. https://github.com/AlejandroRuiz/StatesButton ya quedo como un nuget package puedes bajarlo desde aquí https://www.nuget.org/packages/StatesButton.Forms

      Eliminar
  2. Si es posible espero el dia de mañana subir la integracion de esto

    ResponderEliminar

Publicar un comentario

Entradas populares de este blog

Bluetooth Arduino + Xamarin.Android

Simple ListView with Xamarin.Forms

Xamarin.Forms: Get native image from ImageSource