public string GetHtmlStyle()
{
string style = "style=\"";
if (this.BackgroundColor != null)
if (this.BackgroundColor.ToLower() != "transparent")
style += "background-color: "+this.BackgroundColor+"; ";
else
style += "background-color: #FFFFFF; ";
else
style += "background-color: #FFFFFF; ";
if (!style.EndsWith("; "))
style = "";
else
style += "\"";
return style;
}