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


In This Topic
    CreateAndRegisterRepeatButton Method
    In This Topic
    Creates a repeat button, that contains the specified image. Associates an NRepeatButtonCommandSource to the button. Registers the toggle button as a Quick Access toolbar item in the ribbon that owns this quick access toolbar.
    Syntax
    'Declaration
     
    
    Protected Overridable Function CreateAndRegisterRepeatButton( _
       ByVal image As NImage, _
       ByVal command As NCommand _
    ) As NRepeatButton
    'Usage
     
    
    Dim instance As NRibbonQuickAccessToolBarBuilder
    Dim image As NImage
    Dim command As NCommand
    Dim value As NRepeatButton
     
    value = instance.CreateAndRegisterRepeatButton(image, command)
    protected virtual NRepeatButton CreateAndRegisterRepeatButton( 
       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