Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NMenuSplitButton Class / CreateMenuItem<UvEd,vvEd> Method


In This Topic
    CreateMenuItem<UvEd,vvEd> Method (NMenuSplitButton)
    In This Topic
    Creates a menu item for the given value. Uses the specified header for the header of the menu item.
    Syntax
    'Declaration
     
    
    Protected Overridable Function CreateMenuItem
        (Of UvEd,vvEd)( _
       ByVal value As UvEd, _
       ByVal name As System.String, _
       ByVal header As vvEd _
    ) As NMenuItem
    'Usage
     
    
    Dim instance As NMenuSplitButton
    Dim value As UvEd
    Dim name As System.String
    Dim header As vvEd
    Dim value As NMenuItem
     
    value = instance.CreateMenuItem(Of UvEd, vvEd)(value, name, header)
    protected virtual NMenuItem CreateMenuItem<UvEd,vvEd>( 
       UvEd value,
       System.string name,
       vvEd header
    )

    Parameters

    value
    name
    header

    Type Parameters

    UvEd
    vvEd
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also