TreeList.QueryEmptyTreeTemplate Event
In This Article
Allows you to assign HTML-CSS templates from the HtmlTemplates collection to an empty TreeList.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
#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