Export (0) Print
Expand All

DomainDataSourceView.MoveCurrentToPosition Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Sets the item at the specified index to be the CurrentItem in the view.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

public bool MoveCurrentToPosition(
	int position
)

Parameters

position
Type: System.Int32
The index to set the CurrentItem to.

Return Value

Type: System.Boolean
true if the resulting CurrentItem is within the view; otherwise, false.

Implements

ICollectionView.MoveCurrentToPosition(Int32)
Show:
© 2015 Microsoft