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


In This Topic
    ProcessTextForMediumState Method
    In This Topic
    Processes the given text to the text that should be shown in medium state.
    Syntax
    'Declaration
     
    
    Protected Overridable Function ProcessTextForMediumState( _
       ByVal text As System.String _
    ) As System.String
    'Usage
     
    
    Dim instance As NRibbonButtonContent
    Dim text As System.String
    Dim value As System.String
     
    value = instance.ProcessTextForMediumState(text)
    protected virtual System.string ProcessTextForMediumState( 
       System.string text
    )

    Parameters

    text
    Remarks
    In medium state the text should fit on one line, so the default implementation of this method replaces all new lines in the text with spaces.
    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