Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NCommandBarBuilder Class / CreateButton Method


In This Topic
    CreateButton Method
    In This Topic
    Creates a button, that contains the specified image. Associates an NButtonBaseCommandSource to the button.
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateButton( _
       ByVal image As NImage, _
       ByVal command As NCommand _
    ) As NButton
    'Usage
     
    
    Dim instance As NCommandBarBuilder
    Dim image As NImage
    Dim command As NCommand
    Dim value As NButton
     
    value = instance.CreateButton(image, command)
    public virtual NButton CreateButton( 
       NImage image,
       NCommand command
    )

    Parameters

    image
    command
    Requirements

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also