### Check TreeItem Children

When a TreeView TreeItem changes, the selected TreeItem property Children holds the TreeItem Children as a List.
The standard List.Size can be used to check if the selected TreeItem has Children.
Example
`Sub TreeView1_SelectedItemChanged(SelectedItem As TreeItem)
Dim cl As List = SelectedItem.Children
If cl.Size > 0 Then Log($"${SelectedItem.Text} has children"$)
' Log("Treeview Item Changed: " & SelectedItem.Text)
End Sub`

Changed: , Category: TreeView, File: T6C272M2017.htm, ID: 2017