menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ListViewFieldSettings<TValue> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ListViewFieldSettings<TValue>

    Configure handlers to handle the field settings with the ListView component.

    Inheritance
    System.Object
    ListViewFieldSettings<TValue>
    Namespace: Syncfusion.Blazor.Lists
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ListViewFieldSettings<TValue> : OwningComponentBase
    Type Parameters
    Name Description
    TValue

    TValue of the ListView component.

    Constructors

    ListViewFieldSettings()

    Declaration
    public ListViewFieldSettings()

    Properties

    Child

    Gets or sets Child property is used for nested navigation of listed items.

    Declaration
    public string Child { get; set; }
    Property Value
    Type Description
    System.String

    The child for current list. The default value is String.Empty.

    Enabled

    Gets or sets the enabled state of the ListView component.

    Declaration
    public string Enabled { get; set; }
    Property Value
    Type Description
    System.String

    true if the item must be disabled; Otherwise false.

    GroupBy

    Gets or sets the field value which is used to group ListView elements.

    Declaration
    public string GroupBy { get; set; }
    Property Value
    Type Description
    System.String

    The name of the field by which items are grouped.

    HtmlAttributes

    Gets or sets the additional attributes such as id, class, etc.,and accepts attributes in a key-value pair format.

    Declaration
    public string HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.String

    The default value is String.Empty.

    IconCss

    Gets or sets the CSS to customize the icon for the list items dynamically.

    Declaration
    public string IconCss { get; set; }
    Property Value
    Type Description
    System.String

    The default value is String.Empty.

    Remarks

    You can add a specific image to the icons using the iconCss property.

    Id

    Gets or sets the id field mapped in data source.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    The default value is String.Empty.

    IsChecked

    Gets or sets a value which is used to check whether the list items are in a checked state or not.

    Declaration
    public string IsChecked { get; set; }
    Property Value
    Type Description
    System.String

    The default value is String.Empty.

    Text

    Gets or sets the text value from the data source for each list item.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    The default value is String.Empty.

    Tooltip

    Gets or sets the tooltip text that displays information about the target element when hovering over list items.

    Declaration
    public string Tooltip { get; set; }
    Property Value
    Type Description
    System.String

    The default value is String.Empty.

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    System.Threading.Tasks.Task

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved