public static IHtmlString ThreeElements(this HtmlHelper helper, string useClass, IHtmlString left, IHtmlString middle, IHtmlString right) { return(new HtmlString(LayoutWork.ChildrenTemplate("childrenThird", HtmlMethods.addOrUpdateCssClass(left.ToString(), useClass), HtmlMethods.addOrUpdateCssClass(middle.ToString(), useClass), HtmlMethods.addOrUpdateCssClass(right.ToString(), useClass)))); }
public static IHtmlString FourElements(this HtmlHelper helper, IHtmlString left, IHtmlString middleLeft, IHtmlString middleRight, IHtmlString right) { return(new HtmlString(LayoutWork.ChildrenTemplate("childrenQuarter", left.ToString(), middleLeft.ToString(), middleLeft.ToString(), right.ToString()))); }
public static IHtmlString ImageTextLeft(this HtmlHelper helper, string containerClass, string imgSrc, string text) { return(new HtmlString(LayoutWork.ImageTextTemplate("left " + containerClass, string.Format("<img {0} />", HtmlMethods.attribute("src", imgSrc)), string.Format("<span >{0}</span>", text)))); }
public static IHtmlString ThreeElements(this HtmlHelper helper, IHtmlString left, IHtmlString middle, IHtmlString right) { return(new HtmlString(LayoutWork.ChildrenTemplate("childrenThird", left.ToString(), middle.ToString(), right.ToString()))); }
public static IHtmlString TwoElements(this HtmlHelper helper, IHtmlString left, IHtmlString right) { return(new HtmlString(LayoutWork.ChildrenTemplate("childrenHalf", left.ToString(), right.ToString()))); }