using EColor = ElmSharp.Color; using Specific = Xamarin.Forms.PlatformConfiguration.TizenSpecific.Label; namespace Xamarin.Forms.Platform.Tizen { public class LabelRenderer : ViewRenderer { public LabelRenderer() { RegisterPropertyHandler(Label.TextProperty, () => Control.Text = Element.Text); RegisterPropertyHandler(Label.TextColorProperty, UpdateTextColor); // FontProperty change is called also for FontSizeProperty, FontFamilyProperty and FontAttributesProperty change RegisterPropertyHandler(Label.FontProperty, UpdateFontProperties); RegisterPropertyHandler(Label.LineBreakModeProperty, UpdateLineBreakMode); RegisterPropertyHandler(Label.HorizontalTextAlignmentProperty, UpdateTextAlignment); RegisterPropertyHandler(Label.VerticalTextAlignmentProperty, UpdateTextAlignment); RegisterPropertyHandler(Label.FormattedTextProperty, UpdateFormattedText); if (TizenPlatformServices.AppDomain.IsTizenSpecificAvailable) { RegisterPropertyHandler("FontWeight", UpdateFontWeight); } } protected override void OnElementChanged(ElementChangedEventArgs