protected override void AddAttributesToRender(HtmlTextWriter writer)
{
base.AddAttributesToRender(writer);
if (this.ContainerStyle.IsNotEmpty())
{
string[] styles = this.ContainerStyle.Split(';');
foreach (string style in styles)
{
if (style.IsNotEmpty())
{
string[] parts = style.Split(':');
writer.AddStyleAttribute(parts[0], parts[1]);
}
}
}
}