ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1ListViewer Class / BringIndexIntoView Method
The index of the to bring into view.
A sub area inside the item which can be used to scroll to a more specific point.
If true, the zoom will be changed so that the whole area is visible.
Action called when the the animation completed.



In This Topic
    BringIndexIntoView Method (C1ListViewer)
    In This Topic
    Brings the specified index into view.
    Syntax
    'Declaration
     
    
    Public Sub BringIndexIntoView( _
       ByVal index As Integer, _
       Optional ByVal subOffset As Nullable(Of Rect), _
       Optional ByVal changeZoomIfNecessary As Boolean, _
       Optional ByVal completed As Action _
    ) 
    'Usage
     
    
    Dim instance As C1ListViewer
    Dim index As Integer
    Dim subOffset As Nullable(Of Rect)
    Dim changeZoomIfNecessary As Boolean
    Dim completed As Action
     
    instance.BringIndexIntoView(index, subOffset, changeZoomIfNecessary, completed)

    Parameters

    index
    The index of the to bring into view.
    subOffset
    A sub area inside the item which can be used to scroll to a more specific point.
    changeZoomIfNecessary
    If true, the zoom will be changed so that the whole area is visible.
    completed
    Action called when the the animation completed.
    See Also