IModelListViewTreeListBlazor.KeyFieldName Property
In This Article
Specifies the field name that contains unique identifiers for Tree List nodes.
Namespace: DevExpress.ExpressApp.Blazor.SystemModule
Assembly: DevExpress.ExpressApp.Blazor.v24.2.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