Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NRibbonGallery Class / GetColumnCountForState Method


In This Topic
    GetColumnCountForState Method
    In This Topic
    Gets the number of columns the table picker should have for the given state.
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetColumnCountForState( _
       ByVal state As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NRibbonGallery
    Dim state As System.Integer
    Dim value As System.Integer
     
    value = instance.GetColumnCountForState(state)
    protected virtual System.int GetColumnCountForState( 
       System.int state
    )

    Parameters

    state
    Remarks
    If the state is below Medium (1000), the picker should not show any cells. If the state is Medium (1000) - the mininum number of cells should be shown. If the state is Large (2000) - the maximum number of cells should be shown. If the state is between 1000 and 2000, then a number of cells based on the state and the ColumnCountStep should be shown.
    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