Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NRibbonQuickAccessToolBarBuilder Class / CreateAndRegisterButton Method


In This Topic
    CreateAndRegisterButton Method
    In This Topic
    Creates a button, that contains the specified image. Associates an NButtonBaseCommandSource to the button. Registers the button as a Quick Access toolbar item in the ribbon that owns this quick access toolbar.
    Syntax
    'Declaration
     
    
    Protected Overridable Function CreateAndRegisterButton( _
       ByVal image As NImage, _
       ByVal command As NCommand _
    ) As NButton
    'Usage
     
    
    Dim instance As NRibbonQuickAccessToolBarBuilder
    Dim image As NImage
    Dim command As NCommand
    Dim value As NButton
     
    value = instance.CreateAndRegisterButton(image, command)
    protected virtual NButton CreateAndRegisterButton( 
       NImage image,
       NCommand command
    )

    Parameters

    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