Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DropDownListTemplates<TItem>

    Show / Hide Table of Contents

    Class DropDownListTemplates<TItem>

    The DropDownList has been provided with several options to customize each list item, group title, selected value, header, and footer elements.

    Inheritance
    System.Object
    Syncfusion.Blazor.DropDowns.Internal.DropDownsTemplates<TItem>
    DropDownListTemplates<TItem>
    Namespace: Syncfusion.Blazor.DropDowns
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DropDownListTemplates<TItem> : DropDownsTemplates<TItem>
    Type Parameters
    Name Description
    TItem

    Specifies the type of DropDownListTemplates.

    Constructors

    DropDownListTemplates()

    Declaration
    public DropDownListTemplates()

    Properties

    ValueTemplate

    Accepts the template design and assigns it to the selected list item in the input element of the component.

    Declaration
    public RenderFragment<TItem> ValueTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<TItem>
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved