Returns a ToolStripItemCollection of all child menu items
in the specified ToolStripMenuItem.
Namespace: CleanCode.FormsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static IEnumerable<ToolStripMenuItem> All( this ToolStripItemCollection items )
Parameters
- items
- Type: System.Windows.Forms ToolStripItemCollection
The items.
Return Value
A collection of all child menu items.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ToolStripItemCollection. 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