private void OnHtmlRequested(object sender, EventArgs e) { var editor = (HtmlEditor)sender; editor.SetHtmlText(ConverterDroid.SpannedToHtml(Control.EditableText)); }
private void OnHtmlSet(object sender, HtmlEditor.HtmlArgs e) { var htmlString = e.HtmlToPass; Control.TextFormatted = ConverterDroid.HtmlToSpanned(htmlString); }