Udostępnij za pośrednictwem


ContainerContentChangingEventArgs.ItemIndex Property

Definition

Gets the index in the ItemsSource of the data item associated with this container.

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

Property Value

Int32

int

The index in the ItemsSource of the data item associated with this container. The default is -1.

Applies to