Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NRibbonHelpers Class / GetWidgetStateForGroupState Method


In This Topic
    GetWidgetStateForGroupState Method
    In This Topic
    Default implementation that returns the state the given widget should be in when its owner group is in the specified state.
    Syntax
    'Declaration
     
    
    Public Shared Function GetWidgetStateForGroupState( _
       ByVal widget As INRibbonWidget, _
       ByVal groupState As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim widget As INRibbonWidget
    Dim groupState As System.Integer
    Dim value As System.Integer
     
    value = NRibbonHelpers.GetWidgetStateForGroupState(widget, groupState)
    public static System.int GetWidgetStateForGroupState( 
       INRibbonWidget widget,
       System.int groupState
    )

    Parameters

    widget
    groupState
    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