C1.Xamarin.Forms.Gauge Assembly / C1.Xamarin.Forms.Gauge Namespace / GaugeRangeCollection Class / MoveItem Method
The old index.
The new index.


MoveItem Method
Moves the range from oldIndex to newIndex.
Syntax
'Declaration
 
Protected Overrides Sub MoveItem( _
   ByVal oldIndex As Integer, _
   ByVal newIndex As Integer _
) 
 
'Usage
 
Dim instance As GaugeRangeCollection
Dim oldIndex As Integer
Dim newIndex As Integer
 
instance.MoveItem(oldIndex, 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