private void UpdateMaxLines()
        {
            var maxLines = HtmlLabel.GetMaxLines(Element);

            if (maxLines == default(int))
            {
                return;
            }
            Control.SetMaxLines(maxLines);
        }
        private void UpdateMaxLines()
        {
            var maxLines = HtmlLabel.GetMaxLines(Element);

            if (maxLines == default(int))
            {
                return;
            }
            Control.Lines = maxLines;

            SetNeedsDisplay();
        }
 public MyClickableSpan(HtmlLabel label, URLSpan span)
 {
     _label = label;
     _span  = span;
 }