private static Controls BeginControlsHelper(TbHelper helper, IDictionary<string, object> htmlAttributes) { Controls controls = new Controls(helper.ViewContext); controls.WriteTag(htmlAttributes, TagRenderMode.StartTag); return controls; }
private static ControlGroup BeginControlGroupHelper(TbHelper helper, IDictionary<string, object> htmlAttributes) { ControlGroup group = new ControlGroup(helper.ViewContext); group.WriteTag(htmlAttributes, TagRenderMode.StartTag); return group; }
private static Span SpanHelper(TbHelper helper, int spanWidth, int? offset, IDictionary<string, object> htmlAttributes) { Span span = new Span(helper.ViewContext, spanWidth, offset); span.WriteTag(htmlAttributes, TagRenderMode.StartTag); return span; }