When using Label.Text/Label.FormattedText, Xamarin.Forms automatically sets the other property to null.
This can lead to some corner cases where Fabulous has a ViewElement that does not match the real control state.
So to avoid that, the Text and FormattedText property are handled like only one property.
In case the user provided both Text and FormattedText, FormattedText takes precedence.
When using
Label.Text
/Label.FormattedText
, Xamarin.Forms automatically sets the other property to null. This can lead to some corner cases where Fabulous has a ViewElement that does not match the real control state.So to avoid that, the
Text
andFormattedText
property are handled like only one property. In case the user provided bothText
andFormattedText
,FormattedText
takes precedence.