method Node.ClearForeColorChild ()
Clears the default foreground color for the child nodes.

TypeDescription
Use the ClearForeColorChild method to clear the foreground color of the child nodes. Use the ForeColorChild property to specify the child node's foreground color. Use the ClearForeColor method to clear the node's foreground color.

The following sample changes the node's Foreground color while cursor hovers the control:

Dim nOld As EXMLGRIDLibCtl.Node
Private Sub XMLGrid1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    With XMLGrid1
        Dim n As EXMLGRIDLibCtl.Node, h As EXMLGRIDLibCtl.HitTestEnum
        h = .HitTest(X / Screen.TwipsPerPixelX, Y / Screen.TwipsPerPixelY, n)
        If Not nOld Is n Then
            If Not nOld Is Nothing Then
                nOld.ClearBackColor
                nOld.ClearForeColor
            End If
            If Not h = 0 Then
                n.BackColor = vbGreen
                n.ForeColor = vbBlue
            End If
        End If
        Set nOld = n
    End With
End Sub