Class ListViewTemplates<TValue>
Configure templates of the ListView component.
Inheritance
System.Object
ListViewTemplates<TValue>
Namespace: Syncfusion.Blazor.Lists
Assembly: Syncfusion.Blazor.dll
Syntax
public class ListViewTemplates<TValue> : OwningComponentBase
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
public RenderFragment<ComposedItemModel<TValue>> GroupTemplate { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment<Syncfusion.Blazor.Lists.ComposedItemModel<TValue>> |
HeaderTemplate
The ListView has an option to custom design the ListView header title with the help of HeaderTemplate property.
Declaration
public RenderFragment HeaderTemplate { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Template
The ListView component supports to customize the content of each list items with the help of Template property.
Declaration
public RenderFragment<TValue> Template { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment<TValue> |
Methods
OnInitialized()
Method invoked when the component is ready to start.
Declaration
protected override void OnInitialized()