Skip to main content
All docs
V25.1
  • TreeList.QueryEmptyTreeTemplate Event

    Allows you to assign HTML-CSS templates from the HtmlTemplates collection to an empty TreeList.

    Namespace: DevExpress.XtraTreeList

    Assembly: DevExpress.XtraTreeList.v25.1.dll

    NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

    Declaration

    [DXCategory("Events")]
    public event QueryHtmlTemplateEventHandler QueryEmptyTreeTemplate

    Event Data

    The QueryEmptyTreeTemplate event's data class is DevExpress.XtraTreeList.QueryTemplateEventArgs.

    Remarks

    Handle the QueryEmptyTreeTemplate event to apply a template from the HtmlTemplates collection to an empty TreeList based on a condition.

    The QueryEmptyTreeTemplate property specifies the default HTML-CSS template for an empty TreeList control.

    See Also