Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

    IModelListViewTreeListBlazor.KeyFieldName Property

    Specifies the field name that contains unique identifiers for Tree List nodes.

    Namespace: DevExpress.ExpressApp.Blazor.SystemModule

    Assembly: DevExpress.ExpressApp.Blazor.v25.1.dll

    NuGet Package: DevExpress.ExpressApp.Blazor

    Declaration

    [DataSourceProperty("FieldNameSourceList", new string[]{})]
    [ModelBrowsable(typeof(IModelListViewTreeListBlazorVisibilityCalculator))]
    string KeyFieldName { get; set; }

    Property Value

    Type Description
    String

    The key field’s name.

    Remarks

    This property targets the DxTreeList.KeyFieldName property. In XAF ASP.NET Core Blazor applications, this model property is necessary when you use a data source with flat data objects. For more information, refer to the following topic: Display a Tree List With Flat Data Objects (ASP.NET Core Blazor).

    See Also