private TreeNode FindWithEmptyProperties()
{
TreeNode current = this;
while (current != null)
{
if (current.CompName.LiteralProperties == null || current.CompName.LiteralProperties == string.Empty)
{
return current;
}
current = current.NextSibling;
}
return this;
}