Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NAutoScroller Class / ComputeDirection Method


In This Topic
    ComputeDirection Method
    In This Topic
    Computes the direction in which the autoscroller must scroll. Returns true if a valid direction is computed. Returns false if the autoscolling must be stopped.
    Syntax
    'Declaration
     
    
    Protected Overridable Function ComputeDirection( _
       ByVal data As NAutoScroller.NAutoScollData, _
       ByRef direction As CompassDirection _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NAutoScroller
    Dim data As NAutoScroller.NAutoScollData
    Dim direction As CompassDirection
    Dim value As System.Boolean
     
    value = instance.ComputeDirection(data, direction)
    protected virtual System.bool ComputeDirection( 
       NAutoScroller.NAutoScollData data,
       out CompassDirection direction
    )

    Parameters

    data
    direction
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also