Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NContextMenuBuilder Class / AddCheckableMenuItem Method / AddCheckableMenuItem(NMenuItemCollection,NImage,NCommand) Method


In This Topic
    AddCheckableMenuItem(NMenuItemCollection,NImage,NCommand) Method
    In This Topic
    Adds a checkable menu item to the specified collection that executes the specified command.
    Syntax
    'Declaration
     
    
    Public Overloads Function AddCheckableMenuItem( _
       ByVal menuItems As NMenuItemCollection, _
       ByVal image As NImage, _
       ByVal command As NCommand _
    ) As NCheckableMenuItem
    'Usage
     
    
    Dim instance As NContextMenuBuilder
    Dim menuItems As NMenuItemCollection
    Dim image As NImage
    Dim command As NCommand
    Dim value As NCheckableMenuItem
     
    value = instance.AddCheckableMenuItem(menuItems, image, command)

    Parameters

    menuItems
    image
    command
    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