FastColoredTextBoxNS.MarkerStyle.GetCSS C# (CSharp) Method

GetCSS() public method

public GetCSS ( ) : string
return string
        public override string GetCSS()
        {
            string result = "";

            if (BackgroundBrush is SolidBrush)
            {
                var s = ExportToHTML.GetColorAsString((BackgroundBrush as SolidBrush).Color);
                if (s != "")
                    result += "background-color:" + s + ";";
            }

            return result;
        }