public void UpdateContent(string content) { _document.DocumentContent = Encoding.UTF8.GetBytes(content); atmlPreviewPanel.Open(_document); }