CurrentItem Property

ItemCollection.CurrentItem Property


Gets the current item in the view.

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

override CurrentItem : Object with get

Property Value

Type: System.Object

The current object in the view or null if the collection is uninitialized or if there is no collection in the ItemsSource mode.

By default, the first item of the collection starts as the current item.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft