NevronOpenVision
Nevron.Nov.UI Namespace / NListBox Class / FillFromEnum<OfCd> Method
The widget factory to use for creating items content.
In This Topic
    FillFromEnum<OfCd> Method (NListBox)
    In This Topic
    Fills the list box with the options from the specified enum. Assigns the corresponding enum value to the Tag property of each list box item.
    Syntax
    public void FillFromEnum<OfCd>( 
       NEnumWidgetFactory<OfCd> widgetFactory
    )
    where OfCd: new(), System.IConvertible, struct

    Parameters

    widgetFactory
    The widget factory to use for creating items content.

    Type Parameters

    OfCd
    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