C# Windows Forms Select Recursive Controls

Date: 2024-05-13
var allControls = form.Controls.OfType<Control>().SelectRecursive(x => x.Controls.OfType<Control>()).OfType<ContainerControl>();
85290cookie-checkC# Windows Forms Select Recursive Controls