how to hide tree level button when no record found for devexpress child grid view in Winform csharp

Code Example - how to hide tree level button when no record found for devexpress child grid view in Winform csharp

                
                        hide tree level button from gridview when no record found in devexpress