Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NCommandBuilder Class / CreateSplitButton Method / CreateSplitButton<ohsc>(NImage,NImage,NCommand) Method
The image for the action button of the split button.
The image for the split button popup's "More Options..." button (if it has one).


In This Topic
    CreateSplitButton<ohsc>(NImage,NImage,NCommand) Method
    In This Topic
    Create a split button and associates it with the given command.
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Function CreateSplitButton(Of ohsc As {New, NSplitButton})( _
       ByVal image As NImage, _
       ByVal moreOptionsImage As NImage, _
       ByVal command As NCommand _
    ) As ohsc
    'Usage
     
    
    Dim instance As NCommandBuilder
    Dim image As NImage
    Dim moreOptionsImage As NImage
    Dim command As NCommand
    Dim value As ohsc
     
    value = instance.CreateSplitButton(Of ohsc)(image, moreOptionsImage, command)
    protected virtual ohsc CreateSplitButton<ohsc>( 
       NImage image,
       NImage moreOptionsImage,
       NCommand command
    )
    where ohsc: new(), NSplitButton

    Parameters

    image
    The image for the action button of the split button.
    moreOptionsImage
    The image for the split button popup's "More Options..." button (if it has one).
    command

    Type Parameters

    ohsc
    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