📜  c# .net core kendo dropdownlistfor enum - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:02.349000             🧑  作者: Mango

代码示例1
@(Html.Kendo().DropDownList()
    .Name("subscriptionTypeTest")
    .DataTextField("Text")
    .DataValueField("Value")
    .BindTo(Html.GetEnumSelectList(typeof(SubscriptionType)))
    .Deferred()
)