CurrentPosition Property

ItemCollection.CurrentPosition Property

 

Gets the ordinal position of the current item within the view.

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

override CurrentPosition : int with get

Property Value

Type: System.Int32

The ordinal position of the current item within the view or -1 if the collection is uninitialized or if there is no collection in the ItemsSource mode.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft