MenuItemFromEnum<T> Method (ChartMenuItemBase)
In This Topic
Create menu items from enum.
Syntax
'Declaration
Protected Function MenuItemFromEnum(Of As System.Enum)( _
ByVal As , _
ByVal As System.Action(Of T), _
Optional ByVal () As , _
Optional ByVal () As System.String _
) As System.Collections.Generic.List(Of ToolStripMenuItem)
protected System.Collections.Generic.List<ToolStripMenuItem> MenuItemFromEnum<>(
,
System.Action<T> ,
[] ,
System.string[]
)
where T: System.Enum
Parameters
- val
- action
- items
- names
Type Parameters
- T
Return Value
Created menu items.
See Also