Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NRibbonButtonContent Class / CreateContent Method


In This Topic
    CreateContent Method (NRibbonButtonContent)
    In This Topic
    Creates a content widget based on the given image, text and box relation.
    Syntax
    'Declaration
     
    
    Protected Overridable Function CreateContent( _
       ByVal image As NImage, _
       ByVal text As System.String, _
       ByVal boxRelation As ENPairBoxRelation _
    ) As NWidget
    'Usage
     
    
    Dim instance As NRibbonButtonContent
    Dim image As NImage
    Dim text As System.String
    Dim boxRelation As ENPairBoxRelation
    Dim value As NWidget
     
    value = instance.CreateContent(image, text, boxRelation)
    protected virtual NWidget CreateContent( 
       NImage image,
       System.string text,
       ENPairBoxRelation boxRelation
    )

    Parameters

    image
    text
    boxRelation
    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