public void SetFontStyle(string fontStyleValue)
        {
            var fontStyle = FontStyleHelpers.ParseFontStyle(fontStyleValue);

            if (_fontStyle != fontStyle)
            {
                _fontStyle = fontStyle;
                MarkUpdated();
            }
        }
        public void SetFontWeight(string fontWeightValue)
        {
            var fontWeight = FontStyleHelpers.ParseFontWeight(fontWeightValue);

            if (_fontWeight.HasValue != fontWeight.HasValue ||
                (_fontWeight.HasValue && fontWeight.HasValue &&
                 _fontWeight.Value != fontWeight.Value))
            {
                _fontWeight = fontWeight;
                MarkUpdated();
            }
        }
        public void SetFontWeight(string fontWeightValue)
        {
            var fontWeight = FontStyleHelpers.ParseFontWeight(fontWeightValue);

            if (_fontWeight.HasValue != fontWeight.HasValue ||
                (_fontWeight.HasValue && fontWeight.HasValue &&
#if WINDOWS_UWP
                 _fontWeight.Value.Weight != fontWeight.Value.Weight))
#else
                 _fontWeight.Value != fontWeight.Value))
#endif
            {
                _fontWeight = fontWeight;
                MarkUpdated();
            }
        }