alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ListViewTemplates<TValue>

    Configure templates of the ListView component.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    ListViewTemplates<TValue>
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Lists
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ListViewTemplates<TValue> : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Type Parameters
    Name Description
    TValue

    The generic type parameter.

    Constructors

    ListViewTemplates()

    Declaration
    public ListViewTemplates()

    Properties

    GroupTemplate

    Accepts the template design and assigns it to the group headers present in the ListView.

    Declaration
    [Parameter]
    public RenderFragment<ComposedItemModel<TValue>> GroupTemplate { get; set; }
    Property Value
    Type
    RenderFragment<ComposedItemModel<TValue>>

    HeaderTemplate

    The ListView has an option to custom design the ListView header title with the help of HeaderTemplate property.

    Declaration
    [Parameter]
    public RenderFragment HeaderTemplate { get; set; }
    Property Value
    Type
    RenderFragment

    Template

    The ListView component supports to customize the content of each list items with the help of Template property.

    Declaration
    [Parameter]
    public RenderFragment<TValue> Template { get; set; }
    Property Value
    Type
    RenderFragment<TValue>

    Methods

    OnInitialized()

    Method invoked when the component is ready to start.

    Declaration
    protected override void OnInitialized()
    Overrides
    ComponentBase.OnInitialized()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved