Class SelectItems
Inherited Members
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public class SelectItems : Attribute
Constructors
SelectItems(string)
Declaration
public SelectItems(string itemsListPropertyName)
Parameters
Type | Name | Description |
---|---|---|
string | itemsListPropertyName |
Properties
ItemsListPropertyName
Declaration
public string ItemsListPropertyName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetItems(ModelExplorer)
Declaration
public IEnumerable<SelectListItem>? GetItems(ModelExplorer explorer)
Parameters
Type | Name | Description |
---|---|---|
ModelExplorer | explorer |
Returns
Type | Description |
---|---|
IEnumerable<SelectListItem> |