模板
面板条的ASP。网络核心supports templates for customizing the appearance of its items.
控件可自定义面板栏的外观模板()
或TemplateId ()
配置选项来设置一个模板,该模板将用于呈现面板栏的项。
方法的使用方法,示例如下TemplateId ()
配置:
@(Html.Kendo(). panelbar (). name ("panelbar") . templateid ("template") . datasource (source => {source. >)。读(Read =>读。行动(“Read_TemplateData”、“PanelBar "));}))
< hierarchicaldatasource > hierarchy -datasource> . /> hierarchy -datasource> . /