Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NMenuSplitButton Class / FillFromArray<TValue,THeader> Method


In This Topic
    FillFromArray<TValue,THeader> Method (NMenuSplitButton)
    In This Topic
    Fills the menu of the split button from the given array of values and uses the specified headers array for the headers of the created menu items. The number of values should be equal to the number of images. Assigns the corresponding value to the Tag property of each menu item.
    Syntax
    'Declaration
     
    
    Public Sub FillFromArray
        (Of TValue,THeader)( _
       ByVal values() As TValue, _
       ByVal headers() As THeader _
    ) 
    'Usage
     
    
    Dim instance As NMenuSplitButton
    Dim values() As TValue
    Dim headers() As THeader
     
    instance.FillFromArray(Of TValue, THeader)(values, headers)
    public void FillFromArray<TValue,THeader>( 
       TValue[] values,
       THeader[] headers
    )

    Parameters

    values
    headers

    Type Parameters

    TValue
    THeader
    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