Bewerken

Delen via


ItemCollection.CurrentItem Property

Definition

Gets the current item in the view.

public:
 virtual property System::Object ^ CurrentItem { System::Object ^ get(); };
public override object CurrentItem { get; }
member this.CurrentItem : obj
Public Overrides ReadOnly Property CurrentItem As Object

Property Value

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.

Applies to

See also