Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

extend button, and react to isenabled changes

$
0
0

I've extended Button, as I have lots of requirements (like changing images, selected states, etc). I want to be able to tap into that for when the IsEnabled property changes on the button - I couldn't find how to do that - I tried adding a propertychange listener; but it never get's fired.

The best I've got so far is adding another field, which proxies ot the IsEnabled property.. it'll keep me moving; but I really want to do it right.

how to do this without requiring an additional property


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>