Skip to main content
All docs
V25.1
  • TreeListMappings.KeyFieldName Property

    Gets or sets the name of the key field that uniquely identifies records in the data source.

    Namespace: DevExpress.XtraGantt

    Assembly: DevExpress.XtraGantt.v25.1.dll

    NuGet Package: DevExpress.Win.Gantt

    Declaration

    [DefaultValue("ID")]
    [XtraSerializableProperty]
    public string KeyFieldName { get; set; }

    Property Value

    Type Default Description
    String "ID"

    The key identifier field name.

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the KeyFieldName property.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also