Пример #1
0
        String CreateStartTag(RenderContext context, Boolean bSelfClosing)
        {
            var sb = new StringBuilder(255);

            this.MergeStyles(_inGrid ? context.GetGridAttributes() : null);
            sb.Append("<")
            .Append(TagName)
            .Append(GetCssClasses())
            .Append(GetAttributes())
            .Append(GetStyles())
            .Append(bSelfClosing ? "/>" : ">");
            return(sb.ToString());
        }