Поделиться через


PagedCollectionView.CurrentPosition Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the ordinal position of the CurrentItem in the view, which might be sorted and filtered.

Namespace:  System.Windows.Data
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

Syntax

'Declaration
Public ReadOnly Property CurrentPosition As Integer
public int CurrentPosition { get; }

Property Value

Type: System.Int32
The ordinal position of the CurrentItem in the view.

Implements

ICollectionView.CurrentPosition

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.