Hi Chuck,
The GroupBarItem is an object of type Syncfusion.Windows.Forms.Tools.GroupBarItem and TreeViewAdv.Parent is of type Control. So it is not possible to assign the GroupBarItem as the Parent of the TreeViewAdv. In most cases the main form itself is the TreeViewAdv''s Parent. Hence the above code will not work as expected. It will set the entire the main form itself invisible. One possible way to get around this problem would be to explicitly set the appropriate GroupBarItem.Visible property to false. Please refer to the sample application attached here :
Sample_Application
and let me know if this meets your requirements. Thanks for your cooperation.
Regards,
Guru Patwal
Syncfusion, Inc.