Brings the specified index into view.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public void BringIndexIntoView(
	int index,
	Rect subOffset = null,
	bool changeZoomIfNecessary = true,
	Action completed = null
)
Visual Basic
Public Sub BringIndexIntoView ( _
	index As Integer, _
	Optional subOffset As Rect = Nothing, _
	Optional changeZoomIfNecessary As Boolean = True, _
	Optional completed As Action = Nothing _
)

Parameters

index
Type: System..::..Int32
The index of the to bring into view.
subOffset (Optional)
Type: System.Windows..::..Rect
A sub area inside the item which can be used to scroll to a more specific point.
changeZoomIfNecessary (Optional)
Type: System..::..Boolean
If true, the zoom will be changed so that the whole area is visible.
completed (Optional)
Type: System..::..Action
Action called when the the animation completed.

See Also