Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / UIHelper Class / GetNextActiveCellPosition Method
A boolean value indicates affected moving direction from left to right or not
The command can be used to move the active to the result position.


In This Topic
    GetNextActiveCellPosition Method
    In This Topic
    Get the next suggest position for moving active cell.
    Syntax
    'Declaration
     
    
    Public Shared Function GetNextActiveCellPosition( _
       ByVal worksheet As IWorksheet, _
       ByVal foward As Boolean, _
       ByRef command As Command _
    ) As CellReference
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim foward As Boolean
    Dim command As Command
    Dim value As CellReference
     
    value = UIHelper.GetNextActiveCellPosition(worksheet, foward, command)
    public static CellReference GetNextActiveCellPosition( 
       IWorksheet worksheet,
       bool foward,
       out Command command
    )

    Parameters

    worksheet
    foward
    A boolean value indicates affected moving direction from left to right or not
    command
    The command can be used to move the active to the result position.

    Return Value

    New suggest position of active cell. If it is Empty then does not care about new position
    See Also