Baseflow / XF-Material-Library

A Xamarin Forms library for implementing Material Design
https://baseflow.com
MIT License
647 stars 161 forks source link

Add TrailingIcon property #441

Open maurice0800 opened 2 years ago

maurice0800 commented 2 years ago

🚀 Feature Requests

We should have the option to create a custom trailing icon.

Contextualize the feature

It would be useful to add a custom trailing icon for something like a password field. There could be a padlock icon at the end of the field which reveals the password when it is tapped.

Describe the feature

For this feature to work there are a few things required:

  1. TrailingIconProperty
  2. TrailingIconCommandProperty
  3. TrailingIconCommandParameterProperty

All of this should be bindable to an ICommand too.

Platforms affected (mark all that apply)