DomainDataSourceView.MoveCurrentToFirst 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 first item 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 MoveCurrentToFirst As Boolean
'Usage
Dim instance As DomainDataSourceView
Dim returnValue As Boolean
returnValue = instance.MoveCurrentToFirst()
public bool MoveCurrentToFirst()
public:
virtual bool MoveCurrentToFirst() sealed
abstract MoveCurrentToFirst : unit -> bool
override MoveCurrentToFirst : unit -> bool
public final function MoveCurrentToFirst() : boolean
Return Value
Type: System.Boolean
true if the resulting CurrentItem is within the view; otherwise, false.
Implements
ICollectionView.MoveCurrentToFirst()