helloI want to establish what the element looks like by setting an in-line style sheet:
So the question is: How do I set the inline-css style sheet?
[C#]
using System.IO;
using system.Text;
Stream str = new MemoryStream(ASCIIEncoding.Default.GetBytes("strong {color: blue}"));
2) Then load the converted stream CSS in the HTMLUI control by,
[C#]
using Syncfusion.Windows.Forms.HTMLUI;
htmluiControl.LoadCSS(str);
I have attached here a sample that shows how the CSS header is set at run time with a string using the above steps. Please try this and let me know if this helps.
Thank you for your interest in Essential HTMLUI.
Regards,
Nanda