コード例 #1
0
        private void OnHtmlRequested(object sender, EventArgs e)
        {
            var editor = (HtmlEditor)sender;

            editor.SetHtmlText(ConverterDroid.SpannedToHtml(Control.EditableText));
        }
コード例 #2
0
        private void OnHtmlSet(object sender, HtmlEditor.HtmlArgs e)
        {
            var htmlString = e.HtmlToPass;

            Control.TextFormatted = ConverterDroid.HtmlToSpanned(htmlString);
        }