If there's not a way to do this in Xaml, it's not the end of the world, but I'd love to be able to clean up the code-behind a bit.
I have a Person class that has things like Name, Email, StreetAddress, etc. Then in one place, I'm showing a label with that person's name. Based on the Email address, I either want to underline the Label and change its color and add a gesture recognizer or not. That's all been done in the code-behind, but I'd like to do it in Xaml.
I have a Converter for the color already. If !string.IsNullOrWhitespace(person.Email) then it returns Color.Blue, otherwise it returns Color.Black. In code, I either add or don't add GestureRecognizer, and I add an effect or don't. I want to replace those things with Xaml.
In fact, I could probably just update the GestureRecognizer to see if the email address is empty before proceeding, so it can always recognize the gesture, but the effect thing has me stumped. Is there a way to apply a text effect to a label conditionally? I can't figure out what the keyword would be in Xaml.