Gauge for WPF | ComponentOne
C1.WPF.Gauge Assembly / C1.WPF.Gauge Namespace / GaugeRangeCollection Class / MoveItem Method
The old index.
The new index.

In This Topic
    MoveItem Method
    In This Topic
    Moves the range from oldIndex to newIndex.
    Syntax
    'Declaration
     
    Protected Overrides Sub MoveItem( _
       ByVal oldIndex As Integer, _
       ByVal newIndex As Integer _
    ) 
    protected override void MoveItem( 
       int oldIndex,
       int newIndex
    )

    Parameters

    oldIndex
    The old index.
    newIndex
    The new index.
    Exceptions
    ExceptionDescription
    The exception that is thrown when a method call is invalid for the object's current state.
    See Also