Returns a Control ControlCollection of all child controls
in the specified Control.
Namespace: CleanCode.FormsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static IEnumerable<Control> All( this Control..::..ControlCollection controls )
Parameters
- controls
- Type: System.Windows.Forms Control ControlCollection
The controls.
Return Value
A collection of all child controls.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Control ControlCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also