support tree rootVisible property, add generic afterRender event for all visible controls