Signum.Web.Tab.WriteBody C# (CSharp) Method

WriteBody() public method

public WriteBody ( TextWriter writer, Tab first, TypeContext context ) : void
writer System.IO.TextWriter
first Tab
context TypeContext
return void
        public virtual void WriteBody(TextWriter writer, Tab first, TypeContext context)
        {
            using (TabContainer.Surround(writer, new HtmlTag("div", context.Compose(this.Id)).Class("tab-pane fade").Class(this == first ? "in active" : null)))
                this.Body.WriteTo(writer);
        }
    }