FastColoredTextBoxNS.MarkerStyle.GetCSS C# (CSharp) Méthode

GetCSS() public méthode

public GetCSS ( ) : string
Résultat 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;
        }