I'm Working on Xamarin Forms project using Visual Studio 2017 , I want to show few texts in side label using different styles so i used span text as below but it gives me compile error "No property, bindable property, or event found for 'Text', or mismatching type between value and property." My code is below .
<Label TextColor="{Binding ColorStatus}" Margin="0,0,0,0" HorizontalTextAlignment="Start" FontSize="Medium">
<Label.FormattedText>
<FormattedString>
<Span Text="Thank you." FontAttributes="Bold"/>
<Span Text="You have tagged-" FontAttributes="Bold"/>
<Span Text= "{Binding ActivityName}" FontAttributes="Bold"/>
</FormattedString>
</Label.FormattedText>
</Label>