Share via


DomainDataSourceView.MoveCurrentToPrevious Method

[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 before the CurrentItem in the view as the CurrentItem.

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

Syntax

'Declaration
Public Function MoveCurrentToPrevious As Boolean
'Usage
Dim instance As DomainDataSourceView
Dim returnValue As Boolean

returnValue = instance.MoveCurrentToPrevious()
public bool MoveCurrentToPrevious()
public:
virtual bool MoveCurrentToPrevious() sealed
abstract MoveCurrentToPrevious : unit -> bool 
override MoveCurrentToPrevious : unit -> bool 
public final function MoveCurrentToPrevious() : boolean

Return Value

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

Implements

ICollectionView.MoveCurrentToPrevious()

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace

MoveCurrentToPrevious