在 KendoUI 中指定混合内容的正确/最简洁的语法是什么SplitterPane?
附加信息:
我Splitter在 KendoUI 中使用 a ,有时我需要HtmlHelpers在SplitterPane. 例如
@(Html.Kendo().Splitter()
.Name("main-container")
.Panes(panes =>
{
panes.Add().Content(
@<text>
@Html.CustomHelpers().SomeCustomHelper()
<div>This is some markup</div>
@Html.CustomHelpers().AnotherCustomHelper()
</text>
);
}))
我目前正在使用@<text>Razor 语法,但感觉不是很干净。有没有更好的选择我可能会忽略?