Xamarin Quick Hit: Dimming a button to indicate it is disabled

added by DotNetKicks
4/24/2018 7:59:28 PM

2 Kicks, 180 Views

I often have to dim a button to indicate that it is disabled, and I want to do that via data binding. Thus, I want my button to look more or less like this: The key line is the second, where the opacity is bound to a property, CanStart and converted by the CanStartOpacityConverter.


0 comments