Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@* Using with a basic TagBuilder *@
3, 3)
@* Using with a Func<DynamicPlaceholderRenderContext, TagBuilder> *@
<div class="row">
ctx => @Html.Tag("div")
.AddCssClass("col-sm-" + 12 / ctx.PlaceholdersCount)
.GenerateId("featureCol" + ctx.Index),
3, 4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment