FlexChart | ComponentOne
C1.Win.FlexChart.Toolbar.8 Assembly / C1.Win.Chart.Ribbon Namespace / ChartRibbonMenu Class / MenuItemFromEnum<T> Method

In This Topic
    MenuItemFromEnum<T> Method (ChartRibbonMenu)
    In This Topic
    Creates menu item from enumeration.
    Syntax
    'Declaration
     
    Protected Sub MenuItemFromEnum(Of T As System.Enum)( _
       ByVal val As T, _
       ByVal action As System.Action(Of T), _
       Optional ByVal items() As T, _
       Optional ByVal names() As System.String _
    ) 
    protected void MenuItemFromEnum<T>( 
       T val,
       System.Action<T> action,
       T[] items,
       System.string[] names
    )
    where T: System.Enum

    Parameters

    val
    action
    items
    names

    Type Parameters

    T
    See Also