Udostępnij za pośrednictwem


ChoosingItemContainerEventArgs.ItemIndex Property

Definition

Gets the index in the ItemsSource of the data item for which a container is being selected.

public:
 property int ItemIndex { int get(); };
int ItemIndex();
public int ItemIndex { get; }
var int32 = choosingItemContainerEventArgs.itemIndex;
Public ReadOnly Property ItemIndex As Integer

Property Value

Int32

int

The index in the ItemsSource of the data item for which a container is being selected.

Applies to