DomainDataSourceView.CurrentItem Property

[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.]

Gets the current item in the view.

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

Syntax

'Declaration
Public ReadOnly Property CurrentItem As Object
    Get
'Usage
Dim instance As DomainDataSourceView
Dim value As Object

value = instance.CurrentItem
public Object CurrentItem { get; }
public:
virtual property Object^ CurrentItem {
    Object^ get () sealed;
}
abstract CurrentItem : Object
override CurrentItem : Object
final function get CurrentItem () : Object

Property Value

Type: System.Object
The current item in the view or nulla null reference (Nothing in Visual Basic) if there is no current item.

Implements

ICollectionView.CurrentItem

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace

CurrentItem