Library Blazor Components DropDownList DropDownList ItemsSource

ItemsSource

Specifies list of items to be shown inside the component.

razor
[Parameter]
public IEnumerable<T>? ItemsSource { get; set; }

Example

razor
<DropDownList T="Product" ItemsSource="@Products" />

@code {
    private List<Product> Products = new();
}

Sign in